diff --git a/Cloud_and_K8s_Hacking/intro_heroku.md b/Cloud_and_K8s_Hacking/intro_heroku.md index 577e664..f393117 100644 --- a/Cloud_and_K8s_Hacking/intro_heroku.md +++ b/Cloud_and_K8s_Hacking/intro_heroku.md @@ -1,11 +1,11 @@ # Deploying a Flask App at Heroku -I was playing with Flask, and I wrote my own [Anti-Social Network](https://anti-social.herokuapp.com/). - Heroku platform is very flexible, and it supports several programming languages. To deploy an application to Heroku, use Git to push the application to Heroku’s server. +This document shows how to deploy [Anti-Social Network](https://anti-social.herokuapp.com/). + # Running in a Production Server Heroku does not provide a web server, but it expects it to start their own servers and listen on the port number set in environment variable PORT. Flask will perform very poorly because it was not designed to run in a production environment. To improve this, you may use a production-ready web server such as Gunicorn. @@ -197,7 +197,3 @@ $ heroku restart That's it! The app should be running at ```< app-name >.herokuapp.com```. - - ---- -Enjoy! This article was originally posted [here](https://coderwall.com/p/pstm1w/deploying-a-flask-app-at-heroku), and it has over 43k views!