pushapp
Simple heroku like deployment system.
TODO: notes on blazing
Installation
Add this line to your application's Gemfile:
gem 'pushapp'
Usage
add ./vendor/bundle to .gitignore
Supported commands
init
- generates pushapp config fileremotes
- list all known remotessetup
- setup group or remote repository/repositories for deploymentgenerate
- bootstrapp app with various optimized configsupdate-refs
- setup remote refs in local .git/configtasks
- show tasks list for remote(s)trigger
- triggers event on remote(s)ssh
- SSH to remote and setup ENV varsexec
- run shell command remotely
Run pushapp help
to list all available commands and options.
Supported tasks
unicorn_signal
- sends USR2 signal to tmp/pids/unicorn.pidforeman_export
- foreman export (upstart is default)upstart_start
- start upstart jobupstart_stop
- stop upstart jobupstart_restart
- restart upstart jobwhenever_update
- whenever update (crontab)nginx_export
- copy nginx site config to nginx/sites_enabled
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request