You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Subhodip Biswas 7d4caa7183 SMS code complete 12 years ago
chaloBEST SMS code complete 12 years ago
errors added errors folder 13 years ago
gateway Add TrigramSearchManager to ChaloBEST models. 12 years ago
man/man1 Auth Basic Push 12 years ago
patches fix editstops js 12 years ago
smsBEST oops, move cors to correct place 12 years ago
sqldiff sql diff changed for route code and type id 12 years ago
wsgi inital project layout 13 years ago
README add instructions for trigram search to README 12 years ago
fabfile.py edit fabfile 12 years ago
requirements.txt SMS code complete 12 years ago

README

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