This repo contains versions of the course examples meant to be run with
Flask. The examples are divided by week. In each
case, the "main" app file is app.py
.
First, install the prequisites. This is most easily done using
virtualenv or with python3
the venv module. The examples I'll show here are for virtualenv
.
Create the environment and activate:
$ virtualenv env
$ . env/bin/activate
Then install from the requirements.txt
file:
(env) $ pip install -r requirements.txt
Then, to execute a particular app:
(env) $ python app.py runserver