explore-flask icon indicating copy to clipboard operation
explore-flask copied to clipboard

content suggestion - add basic development to deployment workflow

Open mjhea0 opened this issue 11 years ago • 3 comments

For example -

  1. Feature Branch
  2. Create PR
  3. Run CI
  4. Merge
  5. Auto deploy to staging
  6. Test
  7. Auto deploy to production

I'm a fan of Docker for this. Docker, Jenkins, Digital Ocean

mjhea0 avatar Oct 02 '14 19:10 mjhea0

That sounds like we'd be leaving the scope of the book. How much of that would be Flask specific?

rpicard avatar Oct 02 '14 19:10 rpicard

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.

mjhea0 avatar Oct 02 '14 19:10 mjhea0

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.)

rpicard avatar Oct 02 '14 21:10 rpicard