2011-07-20 11:55:50 +00:00
|
|
|
SMSbest
|
2011-07-16 05:48:20 +00:00
|
|
|
|
|
|
|
Get:
|
2011-07-16 19:17:41 +00:00
|
|
|
bzr branch http://code.camputer.org/bestSMS best
|
2011-07-16 05:48:20 +00:00
|
|
|
cd best
|
|
|
|
virtualenv .
|
|
|
|
pip -E . install -r requirements.txt
|
|
|
|
|
2011-07-16 19:17:41 +00:00
|
|
|
you will also need: postgres, postgresql-postgis
|
|
|
|
|
2011-07-16 05:48:20 +00:00
|
|
|
Develop:
|
|
|
|
create best/local_settings.py
|
|
|
|
|
|
|
|
. bin/activate
|
|
|
|
cd best
|
|
|
|
python manage.py shell
|
|
|
|
|
|
|
|
python manage.py runserver
|
|
|
|
|
|
|
|
Deploy:
|
|
|
|
create best/local_settings.py
|
|
|
|
|
|
|
|
create /etc/apache2/sites-availavle/sitename.conf
|
2011-07-16 19:17:41 +00:00
|
|
|
|
|
|
|
edit fabfile.py
|
|
|
|
|
|
|
|
run fab production setup; fab production deploy;
|