From 2a8254476cbd0c867a235dfe3470ffcf3a9a7acc Mon Sep 17 00:00:00 2001 From: Sanj Date: Sun, 17 Jul 2011 00:47:41 +0530 Subject: [PATCH] README, minor --- README | 8 +++++++- best/new_best/admin.py | 15 +++++++++++++++ requirements.txt | 1 + 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 best/new_best/admin.py diff --git a/README b/README index f8c642b..0123e8f 100644 --- a/README +++ b/README @@ -1,11 +1,13 @@ best Get: - bzr branch PUBLIC_URL best + bzr branch http://code.camputer.org/bestSMS best cd best virtualenv . pip -E . install -r requirements.txt + you will also need: postgres, postgresql-postgis + Develop: create best/local_settings.py @@ -19,3 +21,7 @@ Deploy: create best/local_settings.py create /etc/apache2/sites-availavle/sitename.conf + + edit fabfile.py + + run fab production setup; fab production deploy; diff --git a/best/new_best/admin.py b/best/new_best/admin.py new file mode 100644 index 0000000..fb5834c --- /dev/null +++ b/best/new_best/admin.py @@ -0,0 +1,15 @@ +from django.contrib import admin +from django.contrib.auth.models import User +from models import * + +admin.site.register(Acexpressroutes) +admin.site.register(Atlas) +admin.site.register(Regularroutes) +admin.site.register(Routetype) +admin.site.register(Stopmaster) +admin.site.register(Areamaster) +admin.site.register(Asroutes) +admin.site.register(Expressroutes) +admin.site.register(LocationsPoint) +admin.site.register(LocationsLocationtype) +admin.site.register(LocationsLocation) diff --git a/requirements.txt b/requirements.txt index fae303a..3bc6b61 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,4 @@ # -e svn+http://code.djangoproject.com/svn/django/branches/releases/1.1.X/#egg=django -e bzr+http://code.0xdb.org/python-ox/#egg=python-ox +rapidsms South