Source

django-in-a-box / project /

Filename Size Date modified Message
..
etc.templates
libs
media
settings
static/error
664 B
0 B
4.7 KB
794 B
Virtualenv
==========

Activate:
    
    . site_dir/bin/activate

Deactivate:

    deactivate

Django Management Commands
==========================

**N.B.:** Don't forget to set `DJANGO_SETTINGS_MODULE`!

From the project directory:

    paver manage syncdb
    paver manage runserver
    paver manage dbshell
    ...

Supervisor
==========

Starting (from project directory):

    supervisord

Managing:
    
    supervisorctl status
    supervisorctl restart lighttpd
    supervisorctl restart django:*

Stopping:
    
    supervisorctl stop django:*
    supervisorctl stop lighttpd

Shut down (stops all processes automatically):

    supervisorctl shutdown