A folder structure and default setup for Vagrant.
- Apache
- PHP
- MySQL
- OpenSSL
- Sendmail
- Chef is used for provisioning because Opscode maintain a set of cookbooks (Cookbooks contain Recipes).
- All cookbooks are from Opscode
- The DocumentRoot of apache is set to the www folder
- Things can be turned on and off by comenting out the include_recipe found in
cookbooks/application/recipes/default.rb - When the machine boots you can view in browser by going to http://33.33.33.33
- Virtualbox is installed
- Vagrant is installed
- Clone this repo to a local folder including the submodules (cookbooks)
- Move into the new folder
- Boot up Vagrant
- SSH into the new Virtual Machine
- Make coffee as a reward for being awesome
git clone --recursive git@github.com:jamesmills/vagrant.git project_folder
cd project_folder
vagrant up
vagrant ssh
````
Symfony
--------------
1. Download, unzip and copy Symfony Standard into the project_folder
2. Remove IP checks from web/config.php & web/app_dev.php
3. Go to the Symfony config file [config.php](http://33.33.33.33/config.php)
`````bash
curl http://symfony.com/get/Symfony_Standard_Vendors_2.1.7.zip -o archive.zip
unzip -o archive.zip
rm -f archive.zip
cp -R Symfony/ /Users/jamesmills/Projects/project_folder
rm -rf Symfony
````