Skip to content

Django app which forms the basis for operational dashboards for the water sector. Uses Django in the back and a.o. and NVD3, leaflet in front.

License

Notifications You must be signed in to change notification settings

lizardsystem/operational-dashboard

Repository files navigation

operational-dashboard

Introduction

Usage, etc.

Post-nensskel project setup TODO

Here are some instructions on what to do after you've created the project with nensskel.

Later on, before releasing the site, adjust fabfile.cfg to point at the correct server and configure raven/sentry and gaug.es in the django settings.

Initial setup

Initially, there's no buildout.cfg. You need to make that a symlink to the correct configuration. On your development machine, that is development.cfg (and staging.cfg or production.cfg, for instance on the server):

$ ln -s development.cfg buildout.cfg

Then run bootstrap and buildout, as usual:

$ python bootstrap.py
$ bin/buildout

Set up a database (and yes, set up an admin user when asked):

$ bin/django syncdb
$ bin/django migrate

And import two fixtures. The background_maps sets up a couple of lizard-map defaults. Democontent gives you an initial homepage and a link to an example WMS layer:

$ bin/django loaddata background_maps
$ bin/django loaddata democontent

Start the server:

$ bin/django runserver

About

Django app which forms the basis for operational dashboards for the water sector. Uses Django in the back and a.o. and NVD3, leaflet in front.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published