elbroandrew / learning-flask

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Puppy blog posts project

set up the FLASK_APP var for win 10:

$env:FLASK_APP="app.py"

linux:

export FLASK_APP=app.py

init DB (before that delete any existing DB and migrations folder):

flask db init

flask db migrate -m "some message here"

flask db upgrade

run flask app on win10: py app.py

linux: python3 app.py

About


Languages

Language:Python 65.5%Language:HTML 32.4%Language:Mako 1.7%Language:JavaScript 0.3%