Skip to content

hackberry-gh/green_valley

Repository files navigation

GreenValley

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.

Installation

$ curl https://raw.github.com/hackberry-gh/green_valley/master/bootstrap.sh | sudo bash

Configuration

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"

Usage

  1. Run bedrock

    $ sudo gv-bedrock run &

  2. Run Valley

    $ sudo gv-valley run &

  3. Viola, now you can deploy your app via git.

run valley to see available commands.

Todo

  • Write upstart or whatever daemon scripts
  • Write more tests
  • Documentation

Contributing

  1. Fork it ( http://github.com//gv-valley/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

About

Micro Private PaaS with Ruby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published