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 >>> from wradmin.app import db
34 >>> from wradmin.model import MwUser
35 >>> user = db.session.query(MwUser).get(1)
40 Development environment:
43 $ python setup.py bdist_wheel
44 $ scp bdist/wradmin-2.1.0.dev0-py3-none-any.whl colleen:
51 $ pip uninstall wradmin
52 $ pip install wradmin-2.1.0.dev0-py3-none-any.whl # or similar