Caphook is a simple Sinatra app to execute Capistrano tasks via HTTP calls.
$ git clone email@example.com:konsti/caphook.git
config/caphook.ymlaccording to your needs. Look at
Install Riak with localhost access
$ bundle install
- Ruby (> 1.9.3)
- Riak (> 1.1.2)
$ thin start -R config.ru -d -p 4567
You can also create a Profile and use foreman (included in the Gemfile)
Now you're able to deploy your project with HTTP calls
You can also view your log files with
- Caphook requires all Capistrano dependencies of the target projects in his Gemfile. This needs to be fixed, so that Caphook loads the target project bundle and calls the 'cap' command correctly. Pull Requests welcomed.
- Mat Brown (https://github.com/outoftime/clickistrano) for the code to run a shell command
Caphook is released under the MIT license: