26 lines
752 B
Plaintext
26 lines
752 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
|
|
|
|
Don't forget to install python-psycopg2 and python-gdal for the sake of GeoDjango.
|
|
|
|
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
|