This is the main Flask app for ecs.pizza
Based on Flask-User-Starter-App.
- Clone the repo
- Setup a virtualenv
pip install -r requirements.txtcp app/local_settings_example.py app/local_settings.pypython manage.py init_dbpython manage.py add_restaurants- To add test users:
python manage.py add_users- Test User: member@example.com , Password1
- Test Admin: admin@example.com , Password1
- Now run the dev server:
python manage.py runserver
Note: registration sends a verification email, so you must have Flask mail sending configured for that to work.
py.test tests/