-
-
Save jihchi/6820187 to your computer and use it in GitHub Desktop.
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
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