Skip to content

Latest commit

 

History

History
44 lines (23 loc) · 798 Bytes

README.md

File metadata and controls

44 lines (23 loc) · 798 Bytes

Flask Starter project structure

  • This is a minimalistic structure to get started quickly.

       flask_starter
       
        |__  flask_starter
        |         
        |        |__ static/
                     |__ images/
                     |__ css/
                     |__ js/
        |                 
        	       |__ templates/
            
                 |__ forms.py
                 |__ models.py
                 |__ views.py
    
                 |__  __init__.py
        
            
        |__  run.py
    

Usage

pip -r requirements.txt
  • Use on of the venvs provided python2.7 or python3.4

  • Configure SQLAlchemy_DATABASE_URI in dunder init.py.

  • Add some logic to your models and views.

  • Add a SECRET_KEY to dunder init.py

      python run.py