Skip to content

statik/vagrant-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vagrant-template

A template to help bootstrap new vagrant projects.

  1. Clone this repo.
  2. Make sure you have vagrant installed.
  3. Make sure you have Virtualbox installed(http://www.virtualbox.org).
  4. Run vagrant up to set up the virtual machine.
  5. Run vagrant ssh to connect into the virtual machine
  6. Run vagrant provision to re-run chef after changing chef recipes.

Port 8000 from the local host is forwarded into the vagrant machine, so run your webapp listening on that port and you can access it from the host using http://localhost:8000. Changes made to code in this directory are reflected inside the vagrant machine using a shared folder which is mapped to /vagrant.

You can access the vagrant machine from inside other virtualbox machines such as the IEVMS project by going to http://192.168.50.50:8000.

Configuration management is handled using chef-solo. Recipes and settings are listed in Vagrantfile, cookbooks are managed using librarian-chef in the chef/ subdir and are all checked into git, and custom configuration is handled in chef/cookbooks/custom/recipes/default.rb

See TODO

About

A template to help bootstrap new vagrant projects.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors