36cf1cc2c4
Eliminate Save button |
||
---|---|---|
chaloBEST | ||
errors | ||
gateway | ||
man/man1 | ||
patches | ||
smsBEST | ||
sqldiff | ||
wsgi | ||
fabfile.py | ||
README | ||
requirements.txt |
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. To install Trigram Search: psql <database_name> create extension pg_trgm; \q python manage.py trgmidx 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