Change: Install Django

created on Sept. 5, 2012, 7:12 p.m. by Hevok & updated on Nov. 27, 2012, 11:48 p.m. by Hevok

To install Django follow this steps::

$ apt-get install python-pip python-virtualenv virtualenvwrapper
$ cd code
$ mkvirtualenv some-django-project
$ pip install django
$ djangp-admin startproject somedjangoproject
$ cd somdejangoproject
$ python manage.py startapp app1

Django can be also safely be installed right from the trunk, which means it will contain the newest and greatest features::

$ pip install -e svn+http://code.djangoproject.com/svn/django/trunk/#egg=django_trunk

Add this line to the requirements file::

-e svn+http://code.djangoproject.com/svn/django/trunk/#egg=django-trunk

Categories:
Parent: Web Framework

Comment: Inlcuded line for requirements file to install Django from trunk.

See entry | Admin

Comment on This Data Unit