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

opi 6c79c9a09e Todo: captcha or honeypot. il y a 10 ans
assets 8717b501c3 Merge branch 'errors' il y a 10 ans
views 8717b501c3 Merge branch 'errors' il y a 10 ans
.gitignore c4a6902fbe Add gitignore file with sqlite database. il y a 10 ans
README.md e0fe10960a saving to db ! il y a 10 ans
TODO.md 6c79c9a09e Todo: captcha or honeypot. il y a 10 ans
backend.py 1dcca1516f Redirect / to /wifi-form il y a 10 ans

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

Drop the database

$ rm db.sqlite3

What else ?