diff --git a/README.rst b/README.rst index b93028dc..03d81a06 100644 --- a/README.rst +++ b/README.rst @@ -27,6 +27,10 @@ Create a default local settings file:: touch umap/settings/local.py +Import base settings:: + + from umap.settings.base import * + Add database connexion informations in `local.py`, for example:: DATABASES = { @@ -38,8 +42,18 @@ Add database connexion informations in `local.py`, for example:: Create the tables:: - python manage.py syncdb + python manage.py syncdb --migrate + +Compress the statics:: + + python manage.py compress Start the server:: 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 diff --git a/manage.py b/manage.py index ed1ac4cb..b20198f9 100644 --- a/manage.py +++ b/manage.py @@ -2,6 +2,11 @@ import os 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__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "umap.settings.local") diff --git a/requirements.pip b/requirements.pip index 24a896b0..adf5870f 100644 --- a/requirements.pip +++ b/requirements.pip @@ -6,8 +6,9 @@ django>=1.4 south -git+git://github.com/petry/django-foundation.git -git+git://github.com/yohanboniface/django-leaflet-storage.git +django-leaflet-storage +django_compressor +django-foundation +git+git://github.com/yohanboniface/vectorformats.git@leafletstorage git+git://github.com/frankban/django-endless-pagination.git -hg+https://bitbucket.org/liberation/sesql -django_compressor \ No newline at end of file +hg+https://bitbucket.org/liberation/sesql \ No newline at end of file