Micro Private PaaS with Ruby. Heavily influenced from dokku and flynn, also uses several flynn components. You should use flynn instead, this is a distributed Ruby experiment which is not for production use.
$ curl https://raw.github.com/hackberry-gh/green_valley/master/bootstrap.sh | sudo bash
Since it uses gitreceive from @progrium, you need to upload your ssh key to server;
$ cat ~/.ssh/id_rsa.pub | ssh val@greenvalley.org "sudo GITUSER=val gitreceive upload-key lemmycaution"
With vagrant;
$ cat ~/.ssh/id_rsa.pub | ssh -i ~/.vagrant.d/insecure_private_key vagrant@greenvalley.local "sudo GITUSER=val gitreceive upload-key lemmycaution"
-
Run bedrock
$ sudo gv-bedrock run &
-
Run Valley
$ sudo gv-valley run &
-
Viola, now you can deploy your app via git.
run valley to see available commands.
- Write upstart or whatever daemon scripts
- Write more tests
- Documentation
- Fork it ( http://github.com//gv-valley/fork )
- 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