Tired of git-deploy and capistrano, I wrote a small sinatra app to allow you
to update your application's deployment using POST requests.

This is mainly intended for use with CI and test environments: no effort has
been made to make it terribly secure or production ready.

The default setup is passenger/rails specific, but customisation is easy. I
could use some help turning it into a rack-mountable gem so that it could be
easily included as part of a rails/padrino app. Doing so would hopefully
also allow it to auto-detect the application's environment rather than
having to edit the configuration files.

See: https://github.com/mipearson/slingshot

Examples (from the README):

git pull, bundle install, rake db:migrate, touch tmp/restart.txt:

curl -sS -d '' http://myapp.com/slingshot/

git fetch, git checkout release/1.1, no bundle or migrate, touch
tmp/restart.txt:

curl -sS -d commit=release/1.1 -d migrate=false -d bundle=false
http://myapp.com/slingshot/

-- 
Michael Pearson
The Bon Scotts; http://www.thebonscotts.com

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to