README, minor
This commit is contained in:
parent
500fe35471
commit
2a8254476c
8
README
8
README
|
@ -1,11 +1,13 @@
|
||||||
best
|
best
|
||||||
|
|
||||||
Get:
|
Get:
|
||||||
bzr branch PUBLIC_URL best
|
bzr branch http://code.camputer.org/bestSMS best
|
||||||
cd best
|
cd best
|
||||||
virtualenv .
|
virtualenv .
|
||||||
pip -E . install -r requirements.txt
|
pip -E . install -r requirements.txt
|
||||||
|
|
||||||
|
you will also need: postgres, postgresql-postgis
|
||||||
|
|
||||||
Develop:
|
Develop:
|
||||||
create best/local_settings.py
|
create best/local_settings.py
|
||||||
|
|
||||||
|
@ -19,3 +21,7 @@ Deploy:
|
||||||
create best/local_settings.py
|
create best/local_settings.py
|
||||||
|
|
||||||
create /etc/apache2/sites-availavle/sitename.conf
|
create /etc/apache2/sites-availavle/sitename.conf
|
||||||
|
|
||||||
|
edit fabfile.py
|
||||||
|
|
||||||
|
run fab production setup; fab production deploy;
|
||||||
|
|
15
best/new_best/admin.py
Normal file
15
best/new_best/admin.py
Normal file
|
@ -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)
|
|
@ -1,3 +1,4 @@
|
||||||
# -e svn+http://code.djangoproject.com/svn/django/branches/releases/1.1.X/#egg=django
|
# -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
|
-e bzr+http://code.0xdb.org/python-ox/#egg=python-ox
|
||||||
|
rapidsms
|
||||||
South
|
South
|
||||||
|
|
Loading…
Reference in New Issue
Block a user