ebsen / flask-tutorial

Tutorial for Flask

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flaskr

Official Flask Tutorial

Run the application

Create the virtual environment with python3 -m venv env

Set environment variables:

export FLASK_APP=flaskr
export FLASK_ENV=development

Initialize the database with flask init-db (after setting the vars above)

Run the app with flask run

Or, run all in one go with: export FLASK_APP=flaskr && export FLASK_ENV=development && flask run

About

Tutorial for Flask


Languages

Language:Python 55.5%Language:HTML 29.5%Language:CSS 11.8%Language:TSQL 3.2%