Skip to content

ddsc/ddsc-management

Repository files navigation

ddsc-management

Introduction

Usage, etc.

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

Management site for DDSC's backend data and for user management

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors