Created
September 10, 2018 15:07
-
-
Save m5wdev/c829e50ff13cee12d7dbb5a7ed075772 to your computer and use it in GitHub Desktop.
Automation running Flask 1.* local server with bash
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cd ~/Dropbox/flask_project/ | |
# Activate virtualenv | |
source venv/bin/activate | |
cd ./app | |
export FLASK_APP=app.py && export FLASK_ENV=development && flask run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment