From 5cd153b7c8a44d84642743c1b5b3d4287c8912b8 Mon Sep 17 00:00:00 2001 From: Malcolm Tredinnick Date: Thu, 29 Nov 2007 16:57:20 +0000 Subject: [PATCH] Fixed #5777 -- Recommend using a symbolic link on Linux, OSX, etc for django-admin.py so that subversion updates keep it up to date. Patch from arien. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6737 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/install.txt | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/docs/install.txt b/docs/install.txt index 519bf2674c3..5a71691d5ad 100644 --- a/docs/install.txt +++ b/docs/install.txt @@ -204,11 +204,18 @@ latest bug fixes and improvements, follow these instructions: .. _How to use Django with mod_python: ../modpython/ -4. Copy the file ``django-trunk/django/bin/django-admin.py`` to somewhere on - your system path, such as ``/usr/local/bin`` (Unix) or ``C:\Python24\Scripts`` - (Windows). This step simply lets you type ``django-admin.py`` from within - any directory, rather than having to qualify the command with the full path - to the file. +4. On Unix-like systems, create a symbolic link to the file + ``django-trunk/django/bin/django-admin.py`` in a directory on your system + path, such as ``/usr/local/bin``. For example:: + + ln -s `pwd`/django-trunk/django/bin/django-admin.py /usr/local/bin + + This simply lets you type ``django-admin.py`` from within any directory, + rather than having to qualify the command with the full path to the file. + + On Windows systems, the same result can be achieved by copying the file + ``django-trunk/django/bin/django-admin.py`` to somewhere on your system + path, for example ``C:\Python24\Scripts``. You *don't* have to run ``python setup.py install``, because you've already carried out the equivalent actions in steps 3 and 4.