mirror of https://github.com/django/django.git
Added docs/install.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@71 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
4c4f135418
commit
0d2b5e33cd
|
@ -0,0 +1,30 @@
|
|||
=====================
|
||||
How to install Django
|
||||
=====================
|
||||
|
||||
Installation instructions are slightly different depending on whether you're
|
||||
using the latest official version or the latest development version.
|
||||
|
||||
It's easy either way.
|
||||
|
||||
Installing the official version
|
||||
===============================
|
||||
|
||||
1. Download the tarball of the latest official version from our ``download page``_.
|
||||
2. ``cd django-1.0.0.tar.gz``
|
||||
3. ``python setup.py install``
|
||||
|
||||
Installing the development version
|
||||
==================================
|
||||
|
||||
1. Make sure you have ``Subversion``_ installed.
|
||||
2. ``svn co http://code.djangoproject.com/svn/django/trunk/ django_src``
|
||||
3. Symlink ``django_src/django`` so that ``django`` is within your Python
|
||||
``site-packages`` directory:
|
||||
``ln -s django_src/django /usr/lib/python2.3/site-packages/django``
|
||||
Change ``python2.3`` to match your current Python version.
|
||||
|
||||
When you want to update your code, just run the command ``svn update`` from
|
||||
within the ``django_src`` directory.
|
||||
|
||||
.. _`Subversion`: http://subversion.tigris.org/
|
Loading…
Reference in New Issue