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 trial

General Discussion

Chen Wang
Chen Wang
7,371 Points

Any uggestions for deploy my flask project

Hi everyone.

I basically finished a small personal blog using flask, and I wish to deploy it.

I have heard a platform called Heroku. Is it free? Does it means I don't need to rent a server if I use this platform? And I just need to pay for a domain name?

In addition, because it is a blog, I may need to frequently update some files in my application. Is it convenient to do this in Heroku?

Are there any difference between using Heroku and renting a server space in hostgator.com?

1 Answer

Ricky Catron
Ricky Catron
13,023 Points

Heroku is a PAAS (Platform as a service) which is a managed server for specific technologies such as Flask or Ruby. You can move files to it using GIT a version control system so you will need to learn that.

Heroku has a free plan but it is limited and not a great option for running a professional website. If you need it for anything more then testing will likely need to upgrade to a paid plan.

If you wanted a better free plan I would suggest Openshift. They are very similar and have a better free plan.

Goodluck! --Ricky

Ricardo Sierra
Ricardo Sierra
14,920 Points

Hey Ricky! I am trying to use Openshift but can't seem to figure out, how to use argon2. I keep getting an ImportError. Do you know a way to solve my problem?

Thanks in advance!

Ricky Catron
Ricky Catron
13,023 Points

I have not used open shift in a very long time now. I would see if you could SSH into the server and make sure everything is installed using the pip freeze command. If it isn't then install it manually and try again.