Changeset 3907
- Timestamp:
- 10/16/06 17:38:18 (2 years ago)
- Files:
-
- django/trunk/docs/install.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/trunk/docs/install.txt
r3483 r3907 85 85 Note that the last command will automatically download and install setuptools_ 86 86 if you don't already have it installed. This requires a working Internet 87 connection and may cause problems on Python 2.5. If you run into problems, 88 try using our development version by following the instructions below. The 89 development version no longer uses setuptools nor requires an Internet 87 90 connection. 88 91 89 Th iswill install Django in your Python installation's ``site-packages``92 The command will install Django in your Python installation's ``site-packages`` 90 93 directory. 91 94 … … 95 98 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 99 100 If you'd like to be able to update your Django code occasionally with the 101 latest bug fixes and improvements, follow these instructions: 102 97 103 1. Make sure you have Subversion_ installed. 98 2. ``svn co http://code.djangoproject.com/svn/django/trunk/ django_src`` 99 3. Symlink ``django_src/django`` so that ``django`` is within your Python 100 ``site-packages`` directory: 104 2. Check out the Django code into your Python ``site-packages`` directory. 105 On Linux / Mac OSX / Unix, do this:: 101 106 102 ``ln -s `pwd`/django_src/django /usr/lib/python2.3/site-packages/django`` 107 svn co http://code.djangoproject.com/svn/django/trunk/ django_src 108 ln -s `pwd`/django_src/django /usr/lib/python2.3/site-packages/django 103 109 104 110 (In the above line, change ``python2.3`` to match your current Python version.) 105 111 106 You don't have to run ``python setup.py install``. 112 On Windows, do this:: 107 113 108 When you want to update your code, just run the command ``svn update`` from 109 within the ``django_src`` directory. 114 svn co http://code.djangoproject.com/svn/django/trunk/django c:\Python24\lib\site-packages\django 115 116 4. Copy the file ``django_src/django/bin/django-admin.py`` to somewhere on your 117 system path, such as ``/usr/local/bin`` (Unix) or ``C:\Python24\Scripts`` 118 (Windows). This step simply lets you type ``django-admin.py`` from within 119 any directory, rather than having to qualify the command with the full path 120 to the file. 121 122 You *don't* have to run ``python setup.py install``, because that command 123 takes care of steps 3 and 4 for you. 124 125 When you want to update your copy of the Django source code, just run the 126 command ``svn update`` from within the ``django`` directory. When you do this, 127 Subversion will automatically download any changes. 110 128 111 129 .. _`download page`: http://www.djangoproject.com/download/
