-- restructuredtext --
Clone project and bootstrap virtual environment:
~$ git clone git@github.com:copelco/souktel-alert.git ~$ cd souktel-alert/souktel_alert/ ~/souktel-alert/souktel_alert$ mkvirtualenv --distribute souktel ~/souktel-alert/souktel_alert$ ./bootstrap.py
Create local_settings.py file, syncdb, and runserver:
~/souktel-alert/souktel_alert$ cp local_settings.py.example local_settings.py ~/souktel-alert/souktel_alert$ ./manage.py syncdb ~/souktel-alert/souktel_alert$ ./manage.py runserver
Visit http://localhost:8000/ in your browser.
Deployment uses fabric. To see a list of the
available fab commands, run fab --list
:
Available commands: bootstrap bootstrap environment on remote machine clone clone github repository on remote machine create_virtualenv create virtual environment on remote host production run commands on the remote production environment pull pull latest code to remote environment restart restart apache and route staging run commands on the remote staging environment update pull and restart apache and route update_requirements update remote Python environment