NOTE: This is the environment used to build the Vagrant box. If you are looking for an HHVM environment, just use the box: server4001/ubuntu-hhvm.
Comes with:
- Ubuntu 14.04
- HHVM v3.18.2 (rel)
- Nginx v1.10.3
- MySQL v5.7.18
- Beanstalkd v1.9
- Redis v2.8.4
- Memcached v1.4.14
- Composer v1.4.1
Also has a Vim plugin for writing Hack code.
vagrant up- Make any changes you need to the box. Be sure to reflect these changes in the provisioning script.
- Before packaging up the box, ssh in, and run the commands that are at the end of
provision.sh. - Package up the box with
vagrant package --output server4001-hhvm-1.1.0.box. Replace1.1.0with the version number. - Destroy the vm with
vagrant destroy -f. - Add the new box to vagrant's local list with:
vagrant box add server4001/hhvm-110 server4001-hhvm-1.1.0.box. Again, replace110and1.1.0with the version number. - Delete the
.vagrantfolder withrm -rf .vagrant. - Test out the box by going to a different folder, running
vagrant init server4001/hhvm-110, and changing theVagrantfileto fit your needs. Next, runvagrant up, and ensure everything is working. - Create a new version on Atlas.
- Add a new provider to the version. The type should be
virtualbox. Upload the box file. - Commit your changes using git.
- Create a new tag:
git tag 1.1.0 && git push origin 1.1.0
- Username: root
- Password: password