Skip to content

Latest commit

 

History

History
32 lines (20 loc) · 566 Bytes

README.md

File metadata and controls

32 lines (20 loc) · 566 Bytes

My implementation of the Flask official tutorial.

Installation

clone the repo git clone https://github.com/wpnbos/flask-tutorial

navigate to directory cd flask-tutorial

create a virtual environment python3 -m venv venv

activate the environment . venv/bin/activate

install flask pip install flask

setup environment variables

export FLASK_ENV=development

export FLASK_APP=flaskr

initialize database flask init-db

run server flask run

navigate to 127.0.0.1:5000!