Update install info and requirements

This commit is contained in:
Yohan Boniface 2013-01-08 19:52:05 +01:00
parent 7fadc2c345
commit 6346cddf2b
3 changed files with 25 additions and 5 deletions

View file

@ -27,6 +27,10 @@ Create a default local settings file::
touch umap/settings/local.py touch umap/settings/local.py
Import base settings::
from umap.settings.base import *
Add database connexion informations in `local.py`, for example:: Add database connexion informations in `local.py`, for example::
DATABASES = { DATABASES = {
@ -38,8 +42,18 @@ Add database connexion informations in `local.py`, for example::
Create the tables:: Create the tables::
python manage.py syncdb python manage.py syncdb --migrate
Compress the statics::
python manage.py compress
Start the server:: Start the server::
python manage.py runserver 0.0.0.0:8000 python manage.py runserver 0.0.0.0:8000
Go to the admin (http://localhost:8000/admin/) and add:
- almost one licence
- almost one tilelayer
- maybe some users to play with

View file

@ -2,6 +2,11 @@
import os import os
import sys import sys
# SeSQL look for "sesql_config" in the sys.path...
# FIXME: PR to SeSQL to be able to define the import path
# with an env var
sys.path.insert(0, os.path.abspath('umap'))
if __name__ == "__main__": if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", os.environ.setdefault("DJANGO_SETTINGS_MODULE",
"umap.settings.local") "umap.settings.local")

View file

@ -6,8 +6,9 @@
django>=1.4 django>=1.4
south south
git+git://github.com/petry/django-foundation.git django-leaflet-storage
git+git://github.com/yohanboniface/django-leaflet-storage.git django_compressor
django-foundation
git+git://github.com/yohanboniface/vectorformats.git@leafletstorage
git+git://github.com/frankban/django-endless-pagination.git git+git://github.com/frankban/django-endless-pagination.git
hg+https://bitbucket.org/liberation/sesql hg+https://bitbucket.org/liberation/sesql
django_compressor