- sudo apt install python3-pip
- sudo apt install python3-venv
- python3 -m venv ./venv
- source ./venv/bin/activate
- pip install flask (pip install requirements)
Option 1:
- export FLASK_APP=flaskpage.py
- export FLASK_DEBUG=1
- flask run
Option 2:
- if name == 'main': app.run(debug=True)
- python flaskpage.py