webApp\Scripts\activatecd .\Flask_Blog\$env:FLASK_APP = "run.py"$env:FLASK_ENV = "development"- If username & password from env vars are not working edit the
__init__.pyfile flask run
webApp\Scripts\activatecd .\Flask_Blog\python run.py
- Created 3 folders main, users, posts to maintain blueprints.
- Gave each folder a
__init__.pyto handle each folder as a package. - Add a routes file to each of the 3 folders.
- Create a forms file under posts and users packages
- Create a
utils.pyfile under users package to maintain miscellaneous functions related to users.