Skip to main content

deploy_to_heroku

🚀 Deploy to Heroku​

Heroku is a PaaS that makes Rails deployment frictionless. You can get your app online in minutes without managing servers. This tip shows how to bootstrap a Rails project to Heroku and push your first release.

# Install the Heroku CLI if you haven't already
toolbelt install

# Login to your Heroku account
heroku login

# Create a new Heroku app
heroku create my-rails-app

# Push your master branch to Heroku
git push heroku master

# Open the deployed app in your browser
heroku open