Skip to content

Instantly share code, notes, and snippets.

@damienstanton
Created October 17, 2014 13:57
Show Gist options
  • Save damienstanton/e752774edff2ff25f8b7 to your computer and use it in GitHub Desktop.
Save damienstanton/e752774edff2ff25f8b7 to your computer and use it in GitHub Desktop.
Boilerplate for minimal Flask app
mkdir -p src
cd src
touch manage.py
mkdir -p app
cd app
touch __init__.py
mkdir -p home
mkdir -p static
mkdir -p templates
cd static
touch styles.css
cd ..
cd home
touch __init__.py
touch routes.py
cd ..
cd templates
touch base.html
mkdir -p home
cd home
touch index.html
echo "Base folders and files have been created"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment