Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Everything is located in `/django/bases/`.
Fastcgi spawns a number of processes so to keep track of which ones it spawns,
start it with `./manage.py runfcgi host=127.0.0.1 port=8080 pidfile=django.pid`. The pidfile is to keep track of the process ids spawned by fastcgi. Check out the django [docs] to learn about serving static files.
Restart nginx with `/etc/init.d/nginx restart` and restart django with `/etc/init.d/django restart`. Restarting django reloads all django/FastCGI projects at once.
Thank You.

[This]: https://code.djangoproject.com/wiki/DjangoAndNginx
[docs]: https://docs.djangoproject.com/en/dev/howto/static-files/
Expand All @@ -16,3 +17,5 @@ Restart nginx with `/etc/init.d/nginx restart` and restart django with `/etc/ini
Check out [this] if you're having trouble with the path info env variable.

[this]: http://neithere.net/dev/notes/nginx-fcgi-django/