TechEmpower/FrameworkBenchmarks — pull request #1051 by hamiltont (2014-08-22 18:04:35+00:00)
Title: Automate setup of development environment

This uses Vagrant to automatically setup a fully working TFB development environment inside a Virtualbox VM. The entire environment is contained in one virtual machine (app server, client server, database server), so you can do verification and benchmarking (not much reason to benchmark inside this setup, my point is just that there's no limitation).

Here's how to setup an environment based on github.com/TechEmpower/FrameworkBenchmarks:

```
# Go into the right directory
$ cd FrameworkBenchmarks/toolset/deployment/vagrant
# Setup the VM with all initial software (takes 15-20 minutes)
$ vagrant up
# SSH into the machine (you get a nice welcome message)
$ vagrant ssh
Welcome to the FrameworkBenchmarks project!

To get started, perhaps try this:
$ cd FrameworkBenchmarks
$ toolset/run-tests.py --install server --test go
$ cat results/ec2/latest/logs/go/out.txt

You can get lots of help:
$ toolset/run-tests.py --help

This Vagrant environment is already setup and ready to go, so you
can ignore any flags about users, hosts, or identity files
```

Here's how to setup an environment based on your local source code:

```
# Go into the right directory
$ cd FrameworkBenchmarks/toolset/deployment/vagrant
# Setup the VM with all initial software (takes 15-20 minutes)
$ SHELL_ARGS=dev vagrant up

```