Heroku is a cloud Platform-as-a-Service (PaaS) supporting several programming languages. Heroku was acquired by Salesforce.com in 2010. Heroku, one of the first cloud platforms, has been in development since June 2007, when it supported only the Ruby programming language, but has since added support for Java, Node.js, Scala, Clojure, Python, PHP, and Go.
Create an app in and push to GitHub
check the branch
make sure that it is master branch and all are running smoothly
database.yml and gem update
paste the above code to database.yml and put a database name for your db. make sure that adapter is postgresql; mySql has some depandancy issues with the heroku . we dont go to the details of that .
Also add a
group :production do
install Heroku toolbelt:
toolbelt is a useful CLI will sort all the problems out. for Linux users type the following command:
wget -O- https://toolbelt.heroku.com/install-ubuntu.sh | sh
for windows users :
using the below command:
create an app using the command
this will create a random named app; but the issue is that i am using the free account ; so it will allow only the 5 apps at a time.
then type heroku create
Push to Heroku master
Thanks .. all done.. hurray..