Deploy your Applications in Heroku

In this post we will learn how to deploy your web applications in Heroku, for free. Heroku is a Cloud Platform-as-a-Service (PAAS). This company provides the base platform server, network resources and endpoints to publish your applications. However, you need to provide the application code and the rest is created automatically for you.

Sometimes, we need to test or showcase a quick prototype of a cloud based web application, REST API backend , or a static web application client. Heroku is a good solution to quickly host application at no cost. For example, they support the most popular languages and frameworks like Node.js, Ruby, Python, Java, PHP, Go, Scala, Clojure.

The general steps to deploy your application are:

  1. Register in the Heroku platform
  2. Install the Heroku CLI
  3. Login locally to Heroku
  4. Create your application and store it in a Git repository
  5. Configure your application for Heroku deployment.
  6. Register your application in Heroku
  7. Associate your git repository with your Heroku app
  8. Push your application to the Heroku application master repository
  9. Access your application from https://your-app.herokuapp.com

Continue reading “Deploy your Applications in Heroku”