A Vagrant box for web development.
This project aims to give you the necessary tools to build yourself the Box.
If you only intend to use the Box, you will never have to build it yourself! Instead, get it from our public releases.
You can directly add the box to your environment using the public versions available on Atlas by HashiCorp.
To do so, run vagrant box add jitb/box
.
You can also download the packaged box file through the GitHub releases.
Version: 2.0.0
Project Owner: Jack in the Box
In order to build the Box effectively, you'll need to have a few tools installed:
- Install Git
- Install VirtualBox
- Install Vagrant
- Use a development workstation with at least 2 cores and 8GB of RAM, as Vagrant should be allocated 1GB of RAM
- Install Vagrant::VBGuest, to manage the host's VirtualBox Guest Additions on the guest system
vagrant plugin install vagrant-vbguest
git clone https://github.com/jack-in-the-box/box.git
to clone the latest version- Change into the directory
box
- Run
vagrant up
- Run
vagrant package --output ps.box
Note: Steps 3. and 4. can be replaced with a call to build.sh
script on bash available environments.
After the build process is done, you have a file named ps.box
that can be imported in Vagrant or VirtualBox.
To import the built box in Vagrant, run vagrant box add metadata.json
.
This box uses Vagrant's shell provisioner over a large collection of scripts to kick things off.
Once Vagrant is done provisioning the VM, you will have a box containing:
- Debian Stretch 9.0, as operating system, with:
- VirtualBox Guest Additions 5.1.22
- Puppet Puppet 3.7.2, as configuration manager
- PostgreSQL 9.5.7, as database system
- Redis 2.8.19, as data structure store
- MailCatcher 0.6.5 as mail catching server
- Apache 2 2.4.25, as web server, with:
- PHP 7.0.19, as server-side scripting language, with:
- NodeJS 6.11.0, as JavaScript runtime
- NPM 5.0.4, as JavaScript package Manager
- Yarn 0.24.6, as dependy manager
- ImageMagick 6.9.7, as images converter