A base development environment
The following Vagrant plugins are required. Install with vagrant plugin install <plugin name>
vagrant-hosts (2.2.0)
vagrant-proxyconf (1.3.2)
ventriloquist (0.6.0)
You can specify a config file to use, or it will default to config.json. The options supported are:
| option | required | comments |
|---|---|---|
| git.user.name | yes | |
| git.user.email | yes | |
| git.version | no | The version of git to install from source (recommend 2.1.2) |
| syncedFolders | no | An array of {source, dest} |
| proxy.useSystemProxy | no | |
| npm.useSystemProxy | no | |
| npm.registry | no | Use if you host your own (internal) npm registry |
| hosts | no | An array of {ip, names} where names is an array of string |
{
"syncedFolders": [{
"source": "../dev",
"dest": "/usr/src/dev"
}, {
"source": "../dev/test-project",
"dest": "/usr/src/test"
}],
"git": {
"version": "2.1.2",
"user": {
"name": "James Allen",
"email": "[email protected]"
}
},
"proxy": {
"useSystemProxy": true
},
"npm": {
"useSystemProxy": true,
"registry": "http://mynpmregistry.org/"
},
"hosts": [{
"ip": "192.168.1.25",
"names": ["somednsname.local", "somednsname"]
}]
}- Configure using a json file
- Add SyncedFolders to config
- Add Host entries to config
- Test different configurations