Details
-
Improvement
-
Resolution: Won't Fix
-
Blocker - P1
-
None
-
Python 2.7 on Ubuntu deploying to Heroku
*Location*: http://docs.mongodb.org/ecosystem/tutorial/write-a-tumblelog-application-with-flask-mongoengine/
*User-Agent*: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0
*Referrer*: http://docs.mongodb.org/
*Screen Resolution*: 1600 x 900
*repo*: docs-ecosystem
*source*: tutorial/write-a-tumblelog-application-with-flask-mongoengine
Python 2.7 on Ubuntu deploying to Heroku *Location*: http://docs.mongodb.org/ecosystem/tutorial/write-a-tumblelog-application-with-flask-mongoengine/ *User-Agent*: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 *Referrer*: http://docs.mongodb.org/ *Screen Resolution*: 1600 x 900 *repo*: docs-ecosystem *source*: tutorial/write-a-tumblelog-application-with-flask-mongoengine
Description
Hi,
This is a great tutorial for both MongoDB and Flask. I just wanted to make one suggestion:
When setting up a project like this with app inside of _init_.py, it isn't clear how to deploy this on a production server. If you would add a paragraph about which command would be used to start the app in production, it would be perfect.
For example, when deploying Flask apps on Heroku, one makes a Procfile with a command telling it how to launch it: web gunicorn myapp:app
Thanks,
Josh