Sunday, August 4, 2013

Heroku!

I'm taking a first stab at Heroku. Here are a few of the handy commands I've run across.

Set the default --app by setting the HEROKU_APP environment variable:
export HEROKU_APP=XYZ
Restarting a web dyno:
heroku ps:restart web.1
Show log output. If it says "not found" it's probably lying, just run the command again.
heroku logs
Deploy a WAR:
heroku deploy:war -w <path>

No comments: