Created
August 24, 2013 20:28
-
-
Save mjhea0/6330250 to your computer and use it in GitHub Desktop.
mix your own
This file contains 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
mkdir flaskapp && cd flaskapp | |
touch config.py run.py shell.py app.db requirements.txt | |
mkdir app | |
touch app/__init__.py app/constants.py | |
mkdir app/static app/templates | |
pip install virtualenv | |
virtualenv --no-site-packages env | |
source env/bin/activate | |
touch .gitignore | |
cat >.gitignore <<EOF | |
env | |
*.pyc | |
EOF | |
pip install flask==0.10.1 pycco | |
pip freeze > requirements.txt | |
git init | |
git add . | |
git commit -m "initial commit" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Handy little script, thanks. I've made a few small changes which make it a bit more flexible. Use as you please. (https://gist.github.com/rogervs/d2792a5302181ef02b30)