Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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.