Skip to content

jamlen/devenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

devenv

A base development environment

Vagrant Plugins

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)     

config.json

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

Example config.json

{
    "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"]
    }]
}

TODOs

  • Configure using a json file
  • Add SyncedFolders to config
  • Add Host entries to config
  • Test different configurations

About

My development environment with Vagrant

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published