Make sure that you have git installed
Clone this repo anywhere on your computer
git clone [email protected]:sameg14/symfony2-vm.git
cd into the newly created folder
cd symfony2-vm
Run the installer, which will make a folder on your desktop called symfony.vm
i.e. ~/Desktop/symfony.vm
after is completes
./install.sh
Add the following entries to /etc/hosts
in order to create local names aliases
10.10.10.24 symfony2.dev
10.10.10.24 symfony2.prod
The VM has both production and development environments configured in apache. You can access the environments in your browser with the following URLs:
dev - http://symfony2.dev prod - http://symfony2.prod
You can edit code directly in the ~/Desktop/symfony.vm/symfony2
folder using your favorite IDE.
The changes that you make will be directly visible in the VM, on the dev environment only.
The prod environment has caching turned on, so it will need a server restart in order to view your changes.