Skip to content

Instantly share code, notes, and snippets.

@gaurangrshah
Last active April 22, 2020 06:22
Show Gist options
  • Save gaurangrshah/3bb4c5c659730a902b8e8bfe1dab0311 to your computer and use it in GitHub Desktop.
Save gaurangrshah/3bb4c5c659730a902b8e8bfe1dab0311 to your computer and use it in GitHub Desktop.
flask-boiler-setup.sh
#!/bin/sh
export ENV='dev'
export FLASK_APP=app.py
export FLASK_DEBUG=true
python3 -m venv venv
source venv/bin/activate
flask run --reload
## $ source setup.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment