Vagrant template to create a fully running openruko VM.
Ruby Shell
Pull request Compare This branch is 124 commits ahead of Marsup:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Bootstrapping OpenRuko

Build Status

Chef recipes for bootstrapping OpenRuko.

Both a Vagrantfile for running local development environments and, using Vagrant 1.1, for deploying to VPSs.

Standalone Install

Useful for local dev environments or just single-server setups.

To generate a new VirtualBox VM with OpenRuko and all its dependencies already installed.

$ sudo apt-get install vagrant
$ git clone
$ cd vagrant-openruko/standalone
$ vagrant up
# wait ...

Cluster Install

Openruko is designed to be scalable, so that you can have a central API server with mulitple dyno servers.

To generate a new VirtualBox VM with OpenRuko and all its dependencies already installed.

$ cd vagrant-openruko/cluster
$ vagrant up
# wait for both VMs to boot

You can ssh into each individual VM with vagrant ssh api and vagrant ssh dynohost

Launch tests

Login to the server vagrant ssh, or vagrant ssh api if you're bootstrapping a cluster and run

$ cd ~/openruko/integration-tests
$ ./

See also integration-tests

If you're behind a proxy

Export the following environment variable in the host machine:

export HTTP_PROXY=
export NO_PROXY=localhost

Connect to the server with SSH, and create a new project (we will use node.js)

$ mkdir myapp
$ cd myapp
$ git init
$ npm init
$ cat > index.js << EOF
var http = require('http');
http.createServer(function (req, res) {
  res.writeHead(200, {'Content-Type': 'text/plain'});
  res.end('Hello World\n');
console.log('Server running');

$ cat > Procfile << EOF
web: node index.js

$ git add -A
$ git commit -m 'fisrt commit'

$ ~/openruko/client/openruko keys:add

$ ~/openruko/client/openruko create myapp
# email:
# Password: rukosan

$ git push heroku master
$ curl