Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 335 Bytes

cli.md

File metadata and controls

7 lines (5 loc) · 335 Bytes

Heroku CLI

Use --app=app-staging or --app=app-production for staging and production environments respectively.

  • Connect to rails console heroku run console --app=app-staging
  • Check logs heroku logs -t --app=app-staging
  • Run a rake task (e.g. migrate database) heroku run rake db:migrate --app=app-staging