Files
2012-02-21 01:15:00 -05:00

1 line
2.0 KiB
JSON

[{"user_id": 27236, "stars": [], "topic_id": 37378, "date_created": 1306760436.6725709, "message": "How do I deploy Flask apps on Dotcloud? The dotcloud docs doesn't seem to cover how to do this. Could someone please explain?", "group_id": 207, "id": 1226907}, {"user_id": 5108, "stars": [], "topic_id": 37378, "date_created": 1306760818.5774729, "message": "Flask is just Python/WSGI so the Python documentation at http://docs.dotcloud.com/components/python/ applies. It's super simple.", "group_id": 207, "id": 1226944}, {"user_id": 27236, "stars": [], "topic_id": 37378, "date_created": 1306766611.8191111, "message": "help me out here please.. what should I replace this line with: if __name__ =='__main__': ?", "group_id": 207, "id": 1227888}, {"user_id": 5108, "stars": [], "topic_id": 37378, "date_created": 1306779695.360626, "message": "you don't need to replace that line. maybe this helps: https://gist.github.com/999249 \u2013 only the last line in wsgi.py was added to the example from http://flask.pocoo.org/", "group_id": 207, "id": 1229749}, {"user_id": 5108, "stars": [], "topic_id": 37378, "date_created": 1306779715.9438591, "message": "and then:", "group_id": 207, "id": 1229761}, {"user_id": 5108, "stars": [], "topic_id": 37378, "date_created": 1306779790.328119, "message": "after that you should see a \u00abhello world\u00bb if you go to http://www.yourapp.dotcloud.com/", "group_id": 207, "id": 1229779}, {"user_id": 5108, "stars": [], "topic_id": 37378, "date_created": 1306779750.728492, "message": "$ dotcloud deploy -t python yourapp.www", "group_id": 207, "id": 1229767}, {"user_id": 5108, "stars": [], "topic_id": 37378, "date_created": 1306779723.5532229, "message": "$ dotcloud create yourapp", "group_id": 207, "id": 1229763}, {"user_id": 5108, "stars": [], "topic_id": 37378, "date_created": 1306779758.4858811, "message": "$ dotcloud push yourapp.www .", "group_id": 207, "id": 1229768}, {"user_id": 27236, "stars": [], "topic_id": 37378, "date_created": 1306932845.7342219, "message": "Thanks!!", "group_id": 207, "id": 1252756}]