Created
October 15, 2015 15:02
-
-
Save mbattur/b085c9cc57df184af482 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ heroku login | |
| $ heroku create | |
| $ git push heroku master | |
| WITH DESCRIPTION | |
| Deploying to Heroku | |
| It is time to deploy and share your app with the world. There are many choices for deploying and hosting Rails applications, and Bloc recommends the popular Heroku platform. Heroku makes it easy to manage and deploy Rails apps using the command line. | |
| Sign up for a free Heroku account. Then install the Heroku Toolbelt for your OS. This toolbelt will allow you to run Heroku commands from the command line. | |
| Log into your new Heroku account: | |
| Terminal | |
| $ heroku login | |
| After you've logged in, create a new application in Heroku: | |
| Terminal | |
| $ heroku create | |
| Because we did not specify a name with heroku create, Heroku created one for us. | |
| We now have a Production environment to push our application to. Type this command to push the code from the master branch of your Git repo to Heroku: | |
| Terminal | |
| $ git push heroku master | |
| It may take a few minutes for the new application to propagate in Heroku. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment