Skip to content

romantomjak/flask-blueprint-quickstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask-blueprint-quickstart

Flask starter kit for larger apps


Read the accompanying blog post here https://r00m.wordpress.com/2018/04/19/directory-structure-for-a-flask-project

How to use this

You can start by cloning the latest version:

$ git clone https://github.com/r00m/flask-blueprint-quickstart my-project
$ cd my-project

When that's done, install project dependencies:

$ pip install -r requirements.txt

Now you can start the app:

$ FLASK_APP=main.py FLASK_DEBUG=1 flask run

And you're ready to start developing! ✨

Project structure

$ tree
.
├── LICENSE
├── README.md
├── expert_disco        # contains global stuff like settings, utils, models, etc
│   ├── __init__.py     # bootstrap file. initialise your extensions here
│   └── settings.py
├── main.py             # entry point
├── polls               # app (example)
│   ├── __init__.py     # Blueprints are created here
│   └── views.py        # here you put your views and tie them to a Blueprint
└── requirements.txt

License

MIT

About

Flask starter kit for larger apps

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages