- php5
- php5-mcrypt
- php-fpm
- mariadb
- nginx
- Install ubuntu trusty server
vagrant init ubuntu/trusty64
- Add the repo to your composer.json
"repositories": [
{
"type": "vcs",
"url": "https://github.com/colincode/server.git"
}
],
"require": {
"colincode/server": "dev-master"
}
- Run composer update
composer update
- Run server-create in your project root folder
vendor/bin/server-create
- Bring up the server
vagrant up
Your .gitignore file will automatically be updated to ignore the Vagrant & Ansible setup files/folders