Skip to content

Simple LAMP stack VirtualBox VM with Symfony installed and configured

Notifications You must be signed in to change notification settings

sameg14/symfony2-vm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Instructions to install VM (Mac only)

Install git

Make sure that you have git installed

Get the script

Clone this repo anywhere on your computer

git clone [email protected]:sameg14/symfony2-vm.git

cd into the newly created folder

cd symfony2-vm

Install

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 host entries

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

Development and Production URLs

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

Editing Code

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.

About

Simple LAMP stack VirtualBox VM with Symfony installed and configured

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published