1. Python
Of course you'll need Python. Still Python 2.7 is preferred, however if you would like to create new projects with Python 3, it's also fine to do.
Newest Python could is downloaded from https://www.python.org/downloads/
2. Pip
It's a very powerful tool for installing and managing Python packages. We could use Pip to install Django also. To install PIP in Ubuntu 14.04, (To upgrade PIP: pip install-u pip)
sudo apt-get install Python-pip
3. Installing Django
It'll be very convenient and easy-to-install Django with the help of PIP. Simply use:
sudo pip install django==1.7
(Refer to Www.djangoproject.com/download for more details) Here we install the newest Django 1.7 for our projects.
4. IDE
It's optional to prepare a IDE for web development using Django, you could purely use the text editors like Vim and Commandlin E to complete all your development. However I would recommend to use a IDE for the ease of life. There is recommended IDEs:
- Pycharm (http://www.jetbrains.com/pycharm/)
For Pycharm it have a free community version for Python projects development, also if either pay or contribute for a s Tandard Edition which supports integrated Django development.
- Aptana (http://www.aptana.com)
Aptana is a free IDE which are an extension of the Eclipse with PyDev dedicated for WEB development. It is completely free and I am currently use it.
Installing Aptana
To the install Aptana 3 in Ubuntu, the directly download it from the IT official website, and use the Deb file to install. (Note:it is not recommended to use the newest version, which have some annoying bugs so you need to attend. Refer to this thread.)
Configuring Aptana
The perspective to PyDev for Django development. (Note:there is a known bugs for PyDev, so you'll have to create and keep an empty PyDev project in your workspace to E Nable yourself creating Django projects with PyDev.)
Setting up Python Interpreter5. Git
It is important to make your codes and resources version-controlled if you be in a team or building up a complex system.
[Django] Setting up Django development environment in Ubuntu 14.04