3 Administration web interface for https://www.winterrodeln.org/
5 This web application uses flask (http://flask.pocoo.org/) and Python 3.
10 $ FLASK_APP=wradmin FLASK_DEBUG=1 FLASK_ENV=development WRADMIN_SETTINGS=development.cfg python3 -m flask run
11 $ FLASK_APP=wradmin WRADMIN_SETTINGS=production.cfg python3 -m flask run
14 ## Test the application
17 PYTHONPATH=. FLASK_APP=wradmin WRADMIN_SETTINGS=test.cfg python3 -m unittest
26 $ FLASK_APP=wradmin FLASK_DEBUG=1 WRADMIN_SETTINGS=development.cfg python3 -m flask shell
32 $ FLASK_APP=wradmin FLASK_DEBUG=1 WRADMIN_SETTINGS=development.cfg ipython
33 >>> import wradmin.model
34 >>> wradmin.model.meta.Session.query(wradmin.model.MwUser).get(1)
39 Development environment:
42 $ python setup.py bdist_wheel
43 $ scp bdist/wradmin-2.1.0.dev0-py3-none-any.whl colleen:
50 $ pip uninstall wradmin
51 $ pip install wradmin-2.1.0.dev0-py3-none-any.whl # or similar