explore-flask
explore-flask copied to clipboard
content suggestion - add basic development to deployment workflow
For example -
- Feature Branch
- Create PR
- Run CI
- Merge
- Auto deploy to staging
- Test
- Auto deploy to production
I'm a fan of Docker for this. Docker, Jenkins, Digital Ocean
That sounds like we'd be leaving the scope of the book. How much of that would be Flask specific?
Scope is subjective. Are databases really part of Flask? What about front end? I always struggle with this as well. Developing a Flask app is so much more than just about Flask, as you know. From time to time you have to deviate out of Flask to show those other things. It's up to you, though.
Pretty much that entire workflow has very little to do with Flask, but it's about getting your dev. environment setup and then deploying a Flask app the right way.
In the case of databases, I tried to deal with that by focusing on the Flask-specific tools for working with databases (e.g. Flask-SQLAlchemy, organizing models, etc.). I think this content would be better suited to a general "Dev-Ops Guide" medium (book, blog post, etc.)