Locally I just interrupt (ctrl-c) and then start it again.
How do I do the same thing with an app on heroku?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The answer was:
Easily aliased with
alias hra='heroku restart --app 'Which you can make a permanent alias by adding it to your .bashrc or .bash_aliases file as described at:
https://askubuntu.com/questions/17536/how-do-i-create-a-permanent-bash-alias and
Creating permanent executable aliases
Then you can just type
hra app_nameYou can restart a specific remote, e.g. “staging” with:
Alternatively if you are in the root directory of your rails application you can just type
to restart that app and and you can create an easy alias for that with
You can place these aliases in your
.bashrcfile or (preferred) in a.bash_aliasesfile which is called from.bashrc