Using heroku to deploy your projects

From PG_Wiki
Jump to: navigation, search

Contents

Heroku for deploying projects

What is Heroku?

Heroku is a cloud application platform (or a PaaS) that allows developers to easily deploy their apps without worrying about servers, hosting, etc.
We are going to use heroku to deploy the backchannel app of project 1. There are several advantages:

  1. You have a deployed app ready to test in under 5 minutes
  2. You have a public URL that you can show off to potential interviewers :)
  3. Basic signup is free!

What do I need?

 $ ssh-keygen -t rsa -C "your_email@youremail.com"
 gem install heroku
 heroku keys:add

You will have to enter your heroku credentials

In your project directory,

 heroku create
 git push heroku master
 heroku rake db:migrate

Viola you are done! Your public URL is specified when you did heroku create. Your application is all set to go!

Heroku help

This guide has been taken largely from the heroku dev center. Look at Heroku HowTo for more details. Also, effectively use google to solve your doubts, there is plenty of help available.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox