Skip to content

Instantly share code, notes, and snippets.

@leommoore
Last active October 1, 2015 19:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leommoore/2047730 to your computer and use it in GitHub Desktop.
Save leommoore/2047730 to your computer and use it in GitHub Desktop.
Heroku Basic Commands

#Heroku Basic Commands

gem install heroku
heroku keys:add               #Adds in the keys so that you can remotely access heroku
heroku create --stack cedar   #Create a Heroku site on their Cedar Stack (best for rails 3.1)
git push heroku master        #Pushes the current committed contents up to Heroku 
heroku run rake db:migrate    #Update database migrations
heroku open                   #Opens the current site in your browser (server must be running)
heroku logs                   #Shows what is happening on the server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment