Skip to content

Instantly share code, notes, and snippets.

@mjhea0
Created August 24, 2013 20:28
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 3 You must be signed in to fork a gist
  • Save mjhea0/6330250 to your computer and use it in GitHub Desktop.
Save mjhea0/6330250 to your computer and use it in GitHub Desktop.
mix your own
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"
@rogervs
Copy link

rogervs commented Aug 9, 2015

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment