Update install info and requirements
This commit is contained in:
parent
7fadc2c345
commit
6346cddf2b
3 changed files with 25 additions and 5 deletions
16
README.rst
16
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
|
||||
|
|
|
@ -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")
|
||||
|
|
|
@ -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
|
||||
hg+https://bitbucket.org/liberation/sesql
|
Loading…
Reference in a new issue