Formulaire & carte pour recenser les aspirant-e-s connecté-e-s à un réseau radio.

opi 0b4ffe0b21 Create LICENSE 10 years ago
assets 42dac595c1 media-queries to fit all screens 10 years ago
contrib dcac0b5c1b arg, forgot to rm that rubish 10 years ago
json e6d546b8f7 added placeholder in json folder to avoid nonexistant folder error 10 years ago
views 1a9d5bb750 added basic antispam via an hidden field fix #5 10 years ago
.gitignore 8f8ea2ebb0 Ignore GeoJSON files. 10 years ago
LICENSE 0b4ffe0b21 Create LICENSE 10 years ago
README.md a7d8cfcd71 Create public and private geojson files. 10 years ago
TODO.md 6c79c9a09e Todo: captcha or honeypot. 10 years ago
backend.py 1a9d5bb750 added basic antispam via an hidden field fix #5 10 years ago

README.md

Dependencies

We use bottle micro-framework.

 # apt-get install python-bottle

(current code works with debian-stable version of bottle)

or

$ pip install bottle

Running

$ ./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.

Create the DataBase

$ python backend.py createdb

Build GeoJSON files

$ python backend.py buildgeojson

Drop the database

$ rm db.sqlite3

What else ?