bootstraping tsuru with vagrant
Shell
Switch branches/tags
Nothing to show

README.md

This project enables the use of tsuru inside a Vagrant virtual machine. It does this by booting up a Vagrant VM and then downloading and invoking Tsuru Now.

To start a tsuru + vagrant what you need to do is:

$ vagrant up

This will start a tsuru remote, or target, running at 192.168.50.4. Just browse to 192.168.50.4:8080 for further setup instructions!

Supported providers

tsuru-bootstrap supports multiple providers, you can specify the desired provider with the --provider flag:

$ vagrant up --provider=<provider-name>

Building tsuru from source for contributing

You can also pass options to Tsuru Now via the TSURU_NOW_OPTIONS environment variable -- e.g.: the following will install all the tsuru components from source along with Go 1.4 so you can have a development environment up and running quickly for contributing:

$ TSURU_NOW_OPTIONS="--tsuru-from-source" vagrant up

$ vagrant ssh
vagrant@vagrant-ubuntu-trusty-64:~$ go version
go version go1.4 linux/amd64

vagrant@vagrant-ubuntu-trusty-64:~$ ls -l ~/go/src/github.com/tsuru
total 32
drwxr-xr-x  3 vagrant vagrant 4096 Dec 23 17:11 commandmocker
drwxr-xr-x  4 vagrant vagrant 4096 Dec 23 17:12 config
drwxr-xr-x  6 vagrant vagrant 4096 Dec 23 17:12 docker-cluster
drwxr-xr-x 16 vagrant vagrant 4096 Dec 23 17:13 gandalf
drwxr-xr-x  3 vagrant vagrant 4096 Dec 23 17:13 go-gandalfclient
drwxr-xr-x 30 vagrant vagrant 4096 Dec 23 17:08 tsuru
drwxr-xr-x  6 vagrant vagrant 4096 Dec 23 17:16 tsuru-admin
drwxr-xr-x  6 vagrant vagrant 4096 Dec 23 17:16 tsuru-client