Skip to content
This repository was archived by the owner on Dec 23, 2023. It is now read-only.

BZCoding/vagrant-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vagrant Developer's Toolbox

This repository contains a set of Vagrant boxes for common development languages (PHP, Ruby, Node.js) and databases (MySQL, MongoDB).

How to use

Every directory, except the common ansible, contains a template box. To make you own box:

  • copy the directory with the box you need,
  • copy the role you need from the shared ansible/roles to [yourbox]/ansible/roles,
  • customize the box and playbook settings,
  • run vagrant up and start coding.

A sample project directory can be structured like:

/home/[username]/Projects/my-project
   |-build
   |-config
   |-db
   |---dev
   |---prod
   |-ansible
   |---roles
   |-----[roles dirs]
   |---playbook.yml
   |-shell
   |---bootstrap.sh
   |-src
   |---[your app code]
   |-tests
   |-webroot
   |-Vagrantfile

Requirements

Vagrant Tips

Download VirtualBox guest additions from: http://download.virtualbox.org/virtualbox/x.x.x/VBoxGuestAdditions_x.x.x.iso

Disable Guest additions in your box with:

config.vbguest.auto_update = false
config.vbguest.no_install = true
config.vbguest.no_remote = true

Useful Vagrant plugins

  • vagrant-hostmanager: manages the /etc/hosts file on guest machines (and optionally the host)
  • vagrant-dns: allows you to configure a dns-server managing a development subdomain
  • vagrant-cachier: caches package managers files
  • vagrant-remove-old-box-versions
  • vagrant-share (provides virtualbox filesystem for synced folders)
  • vagrant-vbguest (automatically installs/updates Guest Additions on boot)

About

A set of Vagrant template boxes for common development languages (PHP, Ruby, Node.js) and databases (MySQL, MongoDB)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors