flask
A general utility script for Flask applications. Loads the application defined in the FLASK_APP environment variable. More information: <https://flask.palletsprojects.com/en/1.1.x/cli/>.
Install
- All systems
-
curl cmd.cat/flask.sh
- Debian
-
apt-get install python3-flask
- Ubuntu
-
apt-get install python3-flask
- Arch Linux
-
pacman -S python3-flask
- Kali Linux
-
apt-get install python3-flask
- Fedora
-
dnf install python3-flask
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install python3-flask
- Raspbian
-
apt-get install python3-flask
- Dockerfile
- dockerfile.run/flask
A general utility script for Flask applications. Loads the application defined in the FLASK_APP environment variable. More information: <https://flask.palletsprojects.com/en/1.1.x/cli/>.
-
Run a development server:
flask run
-
Show the routes for the app:
flask routes
-
Run a Python interactive shell in the app's context:
flask shell
© tl;dr; authors and contributors