Fixed #4245 -- Added documentation about permission error on OS X. Thanks, jacob@gridface.com and ubernostrum and others
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6224 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
cadc6e8c9f
commit
8cf9a6d64b
|
@ -41,6 +41,16 @@ From the command line, ``cd`` into a directory where you'd like to store your
|
|||
code, then run the command ``django-admin.py startproject mysite``. This
|
||||
will create a ``mysite`` directory in your current directory.
|
||||
|
||||
.. admonition:: Max OS X permissions
|
||||
|
||||
If you're using Mac OS X, you may see the message "permission
|
||||
denied" when you try to run ``django-admin.py startproject``. This
|
||||
is because, on Unix-based systems like OS X, a file must be marked
|
||||
as "exceutable" before it can be run as a program. To do this, open
|
||||
Terminal.app and navigate (using the `cd` command) to the directory
|
||||
where ``django-admin.py`` is installed, then run the command
|
||||
``chmod +x django-admin.py``.
|
||||
|
||||
.. note::
|
||||
|
||||
You'll need to avoid naming projects after built-in Python or Django
|
||||
|
|
Loading…
Reference in New Issue