Go to file
Simon c29b1b1861 Add a template with static page 2017-08-25 16:05:12 +02:00
app Add a template with static page 2017-08-25 16:05:12 +02:00
instance First try with db and sqlalchemy 2017-08-22 13:39:25 +02:00
migrations Added database and start with the api 2017-08-24 18:15:06 +02:00
.gitignore Add a template with static page 2017-08-25 16:05:12 +02:00
README.md Added database and start with the api 2017-08-24 18:15:06 +02:00
config.py First try with db and sqlalchemy 2017-08-22 13:39:25 +02:00
createdb.sh Added some dummydata 2017-08-25 14:31:15 +02:00
requirements.txt Added database and start with the api 2017-08-24 18:15:06 +02:00
run.py First try with db and sqlalchemy 2017-08-22 13:39:25 +02:00
tankingsdata.csv Added some dummydata 2017-08-25 14:31:15 +02:00

README.md

besin_site

Bra länk: https://scotch.io/tutorials/build-a-crud-web-app-with-python-and-flask-part-two

export FLASK_CONFIG=development export FLASK_APP=run.py

Init DB flask db init flask db migrate flask db upgrade