Skip to content
Valentin Ivaşcu edited this page May 27, 2015 · 1 revision

#Virtual machine for Web Development using PuPHPet

Open https://puphpet.com/ and generate your server files

Identify a partition on your PC and create a folder named servers/ and another with your project name

F:\servers\project-name

Extract here all files from PuPHPet downloaded archive

Create a folder shared with www and mysql folders Files from shared folder will be synced with virtual machine!

You should have this structure:

puphpet/
shared/
   mysql/
   www/
.gitattributes
Vagrantfile

Edit puphpet/config.yaml change what you want and be sure you have public_network: 192.168.1.110 before private_network

public network ip is your Windows Network IP and should be set in order to get out on the internet with your sites. It make a bridge between your PC and VirtualBox Virtual Machine.

You should set a Static IP on your network card with ip I provided on top (or change as you want).

##Make sure you changed the memory: and cpus: from puphpet/config.yaml depends on your pc performance

After all settings are done, we could start to compile our server.

Clone this wiki locally