Formulaire & carte pour recenser les aspirant-e-s connecté-e-s à un réseau radio.
|
10 years ago | |
---|---|---|
assets | 10 years ago | |
contrib | 10 years ago | |
json | 10 years ago | |
views | 10 years ago | |
.gitignore | 10 years ago | |
LICENSE | 10 years ago | |
README.md | 10 years ago | |
TODO.md | 10 years ago | |
backend.py | 10 years ago |
We use bottle micro-framework.
# apt-get install python-bottle
(current code works with debian-stable version of bottle)
or
$ pip install bottle
$ ./backend.py
Then hit http://localhost:8080
To run in debug mode (auto-reload)
$ DEBUG=1 ./backend.py
Bottle will reload on source change, but not on template change if you're using an old version of bottle.
$ python backend.py createdb
$ python backend.py buildgeojson
$ rm db.sqlite3
What else ?