A simplest To-Do App build with Flask Framework
- pip install flask
- Method one :
- export FLASK_APP=run.py
- export FLASK_ENV=development
- flask run
- Method two :
- Launch your bash terminal, and type
- ./run
This is a pretty cool method which I have once discovered out of curiosity
Secret Key is needed for flashing purpose in flask. Make sure to add it in a seperate config or env file.