Skip to content

Instantly share code, notes, and snippets.

@anthonycarminati
Last active September 7, 2017 19:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anthonycarminati/3105e0c55bd36d4418ff4c44ee919ebe to your computer and use it in GitHub Desktop.
Save anthonycarminati/3105e0c55bd36d4418ff4c44ee919ebe to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
# Basic setup
touch README.md .gitignore
# Project specific controller files
touch application.py config.py manage.py requirements.txt
# Application folders and files
mkdir app
touch app/__init__.py app/models.py
# Application files - static
mkdir app/static
mkdir app/static/css app/static/fonts app/static/img app/static/js app/static/video
# Application files - templates
mkdir app/templates
mkdir app/templates/auth app/templates/site
touch app/templates/_template.html
# Application files - authentication
mkdir app/auth
touch app/auth/__init__.py app/auth/forms.py app/auth/routes.py app/auth/utilities.py
# Application files - site
mkdir app/site
touch app/site/__init__.py app/site/forms.py app/site/routes.py
# Templates - auth
touch app/templates/auth/login.html app/templates/auth/logout.html app/templates/auth/register.html
# Templates - site
touch app/templates/site/index.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment