michaelsnook / 8-glasses

A simple app to track how many glasses of water I drink each day.
Other
0 stars 1 forks source link

Package Eight Glasses for Heroku deployment #2

Closed michaelsnook closed 10 years ago

michaelsnook commented 10 years ago

I don't entirely know what it takes to get an app like this onto Heroku, but there seem to be some good resources on the web for getting this set up, including Heroku's own documentation, so I am going to give it a shot.

It's important for the app to be accessible from the web because my primary use case is really for use on my phone, as I'm going throughout my day doing things like drinking water or taking a moment to do a round of situps.

michaelsnook commented 10 years ago

According to this tutorial: http://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-xviii-deployment-on-the-heroku-cloud heroku is not able to use SQLite because it doesn't store static files. Makes sense. I guess issue #1 has just jumped in importance. (Although admittedly, SQLAlchemy is not a blocker for this.)

michaelsnook commented 10 years ago

It turns out I can actually put this on Heroku without PostgreSQL, it just doesn't result in a stable database. Anyway, here's the link. http://vast-shelf-1754.herokuapp.com/