Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialRodrigo Muñoz
Courses Plus Student 20,171 PointsUsing Peewee and PostgreSQL for deploying to Heroku
I'm trying to deploy the Social Network App to Heroku but Heroku only supports PostgreSQL. So I went to see the Docs:
http://peewee.readthedocs.org/en/latest/peewee/database.html#using-postgresql
I've been seing Postgres tutorials but they show that you need to install pip install psycopg2
to have the database up and running but here in the docs they are using something called playhouse
.
Have anyone deployed the app to Heroku? I need some guides here. Thanks!
2 Answers
minzawmra
Courses Plus Student 15,682 PointsI did manage to deploy a Flask app with Peewee to Heroku. I have written a blog post on it: http://swifthorseman.com/2015/06/18/deploying-a-flask-app-with-peewee-to-heroku/
Liliana Carnival
39 PointsHello, for some odd reason, Heroku ignores requirements.tx file, any idea how to force it always install it? thanks!!!