Example App with Flask
Development
-
Setup the virtualenv or use the existing:
$ python3 -m venv .venv $ source .venv/bin/activate $ pip install -r requirements.txt
-
Run:
$ export FLASK_APP=hello.py $ flask run
Setup the virtualenv or use the existing:
$ python3 -m venv .venv
$ source .venv/bin/activate
$ pip install -r requirements.txt
Run:
$ export FLASK_APP=hello.py
$ flask run