Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Basic Heroku Commands

womenwhocode
November 02, 2011

Basic Heroku Commands

@judytuna showed us some very basic heroku cli stuff at wwcode-rails Ruby Tuesdays #6! Tues Nov. 1, 2011

womenwhocode

November 02, 2011
Tweet

More Decks by womenwhocode

Other Decks in Technology

Transcript

  1. Basic Heroku Commands • gem install heroku • Installs the

    gem. Lets you do this other stuff... • heroku create • will create it on heroku with a random name! • heroku rename • git remote -v • Lists all your remote paths! You should see a new heroku one on there now.
  2. Basic Heroku Commands • git push • Pushes it to

    origin... we're using github =) • git push heroku • Pushes it to your heroku route (as we saw in git remote -v !) • heroku open • Opens it in your default browser
  3. Doing stuff on Heroku from your own machine at home

    • heroku rake db:migrate • You can run rake commands on heroku! • heroku console • Mess around with your code/data!
  4. Looking at your Heroku logs • http://devcenter.heroku.com/articles/logging • heroku logs

    • Shows you the log • heroku logs –tail • Lets you watch the log as things happen!!
  5. Other stuff • heroku keys • Prints out information about

    your keys • heroku help • Prints out all the options =)