25 lines
669 B
Plaintext
25 lines
669 B
Plaintext
Note: If running postgres 9.1 and Django < 1.4, you will probably need this patch for things to work: https://code.djangoproject.com/raw-attachment/ticket/16778/postgis-adapter-2.patch . Reasons are explained here: http://stackoverflow.com/questions/7667724/error-saving-geodjango-pointfield
|
|
|
|
|
|
chaloBEST
|
|
|
|
Get:
|
|
bzr branch PUBLIC_URL chaloBEST
|
|
cd chaloBEST
|
|
virtualenv .
|
|
pip -E . install -r requirements.txt
|
|
|
|
Develop:
|
|
create chaloBEST/local_settings.py
|
|
|
|
. bin/activate
|
|
cd chaloBEST
|
|
python manage.py shell
|
|
|
|
python manage.py runserver
|
|
|
|
Deploy:
|
|
create chaloBEST/local_settings.py
|
|
|
|
create /etc/apache2/sites-availavle/sitename.conf
|