import secrets secrets.token_hex(16) provides16bytesofsecret
- Created a dir
- Created the App
- export FLASK-APP=app.py # this needs to be run from the folder
- export FLASK_DEBUG=1
- created templates folder
- created a simple index.html
- created a base.html
- created a simple about, blog, contact html page
- created a login page
- add import render_template in app.py
- added return render_template('file.html') for each route for each route i app.py
- added dumy data as a list of dictionaries to add to the blog post template
- changed the blog.html to have a ist of posts
- added 'if title' for all pages
- added bootstrap
- added nav bar
- Added static folder
- Added import url_for in app.py