Kaydet (Commit) 8e78a309 authored tarafından Gabriel Hurley's avatar Gabriel Hurley

Fixed #13279 -- Made the paths in the Unix install docs more explicit. Thanks to…

Fixed #13279 -- Made the paths in the Unix install docs more explicit. Thanks to KathyManwaring for the report and stumbles for the patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14062 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 80aa4432
...@@ -254,11 +254,12 @@ latest bug fixes and improvements, follow these instructions: ...@@ -254,11 +254,12 @@ latest bug fixes and improvements, follow these instructions:
.. code-block:: bash .. code-block:: bash
ln -s `pwd`/django-trunk/django SITE-PACKAGES-DIR/django ln -s WORKING-DIR/django-trunk/django SITE-PACKAGES-DIR/django
(In the above line, change ``SITE-PACKAGES-DIR`` to match the location of (In the above line, change ``SITE-PACKAGES-DIR`` to match the location of
your system's ``site-packages`` directory, as explained in the your system's ``site-packages`` directory, as explained in the
"Where are my ``site-packages`` stored?" section above.) "Where are my ``site-packages`` stored?" section above. Change WORKING-DIR
to match the full path to your new ``djanjo-trunk`` directory.)
Alternatively, you can define your ``PYTHONPATH`` environment variable Alternatively, you can define your ``PYTHONPATH`` environment variable
so that it includes the ``django-trunk`` directory. This is perhaps the so that it includes the ``django-trunk`` directory. This is perhaps the
...@@ -283,7 +284,10 @@ latest bug fixes and improvements, follow these instructions: ...@@ -283,7 +284,10 @@ latest bug fixes and improvements, follow these instructions:
.. code-block:: bash .. code-block:: bash
ln -s `pwd`/django-trunk/django/bin/django-admin.py /usr/local/bin ln -s WORKING-DIR/django-trunk/django/bin/django-admin.py /usr/local/bin
(In the above line, change WORKING-DIR to match the full path to your new
``djanjo-trunk`` directory.)
This simply lets you type ``django-admin.py`` from within any directory, 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. rather than having to qualify the command with the full path to the file.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment