Environment for riak_core_tutorial.
The environment requires VirtualBox (tested with version 4.3.10) and Vagrant (tested with version 1.6.3) with the following plugins:
- vagrant-omnibus that ensures the desired version of Chef is installed (tested with version 1.4.1);
- vagrant-librarian-chef that install Chef cookbooks using Librarian-Chef (tested with version 0.2.1).
To install the plugins follow the instructions below.
To install the environment run:
git clone https://github.com/mentels/riak_core_tutorial_env rct_env
cd rct_env
vagrant plugin install vagrant-omnibus
vagrant plugin install vagrant-librarian-chef
vagrant upNOTE:
- installing the plugins is required only once;
- running
vagrant upfor the first time can take few minutes.
Then ssh into the virtual machine: vagrant ssh.
The code required for the tutorial sits in /home/vagrant/synced/. It
can be edited from your machine because the local ./synced directory
is synchronized with /home/vagrant/synced in the VM.
When you finish you can stop the VM by running vagrant halt or event
destroy it with vagrant destroy (both from the host).