/definitions

Example Python Flask App

Primary LanguageHTML

Python with Flask and Jinja templated html frontend example.

Install requirements

$ python -m pip install -r requirements.txt

To run in DEVELOPMENT mode (using a bash shell, e.g. git bash):

$ FLASK_APP=main.py FLASK_ENV=development python -m flask run --port 5000

To run in PRODUCTION mode (port 8080):

$ python main.py