#11986 closed Cleanup/optimization (fixed)
Mac install directions should mention sudo
Reported by: | Owned by: | steven_elliott_jr | |
---|---|---|---|
Component: | Documentation | Version: | 1.1 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | yes |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
You say:
Mac 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 “executable” 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 that the "chmod +x django-admin.py" command will probably need "sudo", which should be mentioned.
Of course, on wonders why the installer couldn't do this automatically, but that's another question.
Attachments (1)
Change History (8)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Needs documentation: | set |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:3 by , 14 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:4 by , 14 years ago
Severity: | → Normal |
---|---|
Type: | → Cleanup/optimization |
comment:5 by , 14 years ago
Easy pickings: | unset |
---|---|
Has patch: | set |
UI/UX: | unset |
Since the official tutorial for installation suggest installing django on mac using sudo, attached patch adds sudo command.
PS this is in reference to http://docs.djangoproject.com/en/dev/intro/tutorial01/#intro-tutorial01