Premise:
Already installed Ruby, Rails, Git
===============================================================
Setup Heroku for the first time
$sudo Gem Install Heroku
Set Heroku account number, need email and password, please apply for free in http://www.heroku.com/
$ Heroku Keys:add
===============================================================
$ Heroku Create
Prompted to create a test server called growing-snow-5298 on the Heroku cloud server
Creating growing-snow-5298 ... done, the stack is bamboo-mri-1.9.2
http://growing-snow-5298.heroku.com/| Git@heroku.com:growing-snow-5298.git
Git Remote Heroku added
$ git remote-v
Heroku Git@heroku.com:growing-snow-5298.git (Fetch)
Heroku Git@heroku.com:growing-snow-5298.git (push)
Origin Git@github.com:yangjiang2k/first_app.git (Fetch)
Origin Git@github.com:yangjiang2k/first_app.git (push)
$ git push Heroku Master
$ heroku Rename Berryreloadfirstapp
Now you can access the host's rails application in Heroku:
Http://BerryReloadFirstApp.heroku.com
===============================================================
Heroku the wrong line:
$ Heroku Logs
===============================================================
Reference: If Heroku publish application error, then tell GitHub server the correct heroku cloud server domain name
Http://stackoverflow.com/questions/2947190/pushing-app-to-heroku-problem
Git remote-v
Git remote RM heroku
git remote add Heroku git@heroku.com:growing-snow-5298.git
===============================================================
Heroku Application Run Error:
$ Heroku Logs