Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/timrogers/impatient-gem
Some of us are impatient. At least, I am - when I deploy an update to my app to Heroku, I want to know whether it's ready. This tells you.
https://github.com/timrogers/impatient-gem
Last synced: 13 days ago
JSON representation
Some of us are impatient. At least, I am - when I deploy an update to my app to Heroku, I want to know whether it's ready. This tells you.
- Host: GitHub
- URL: https://github.com/timrogers/impatient-gem
- Owner: timrogers
- License: mit
- Created: 2012-08-08T10:33:05.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-08-16T15:07:57.000Z (over 12 years ago)
- Last Synced: 2024-12-24T17:46:29.288Z (16 days ago)
- Language: Ruby
- Size: 105 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Impatient gem
I'm a bit impatient - when I deploy an app to Heroku, I'm the kind of guy who repeatedly hammers `heroku ps` until I see that my app is up and ready to go, waiting to see "up" as my signal that I'm ready to go.
But no more with the Impatient gem - basically, this is a really simple (and basically a bit rubbish) app which runs the dreaded command continuously until it stops saying "starting". It'll ever push it at the same time so it's just one command for everything.
It'll tell you if it's up. and if the app couldn't start, you'll be told that too and show the logs. Want to try it? Just run `imp`.
## Installation instructions
__You can install this really easily as a gem:__
`gem install impatient`
## Usage
__Just run *imp*__. Heroku will deploy your app, and once it's done, Impatient will sit their and wait for it to be ready. Once it's ready, it'll say "Heroku app is ready to go."
`cd ~/heroku_app`
`imp`
__To automate things more, you can ask Impatient to open the app for you as soon as it's ready__ - to do this, just add `--open` to the command.
`cd ~/heroku_app`
`imp --open`
__If you'd prefer not to automatically push, just add `--no-push` to the command.__
`imp --no-push`
## General thoughts
This gem is simple and a bit rubbish - I'd love it if people who actually know Ruby to a decent degree would improve this for me and put in a pull request!
Any questions or thoughts? [Send me a tweet.](https://twitter.com/timrogers)
===
*This gem is open source. Read LICENSE for more information.*