[DOCS-2558] Comment on: "ecosystem/tutorial/write-a-tumblelog-application-with-flask-mongoengine.txt" Created: 20/Jan/14  Updated: 11/Jan/17  Resolved: 23/Sep/14

Status: Closed
Project: Documentation
Component/s: ecosystem
Affects Version/s: None
Fix Version/s: 01112017-cleanup

Type: Improvement Priority: Blocker - P1
Reporter: Docs Collector User (Inactive) Assignee: Unassigned
Resolution: Won't Fix Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

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


Participants:
Days since reply: 9 years, 21 weeks, 1 day ago

 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



 Comments   
Comment by Sam Kleinman (Inactive) [ 23/Sep/14 ]

deployment patters for WSGI apps are out side of the scope of this tutorial which is meant to describe the interactions and patters for using MongoDB with other tools.

Generated at Thu Feb 08 07:43:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.