This Vagrant (What is vagrant?) configuration is intented to be used for development of gewisweb. To get started all you need is a fresh copy of the code from the git repo and then this Vagrant configuration will take care of the rest for you. Dependencies and the database schema are kept up to date automatically for you. All initial setup happens automatically as well.
-
Install Vagrant and Virtualbox
-
Open puphet/config.yaml in your favorite text editor.
-
Replace /path/to/your/gewisweb by the path where your gewisweb files are located.
-
Run the start.bat script on windows or the start.sh script on mac or linux or just use
vagrant upfrom the command line. -
Vagrant will now do the initial setup and configuration, this will take a while.
-
For optimal usage edit your hosts file:
Windows:
C:\windows\system32\drivers\etc\hostsLinux and OS X:
/etc/hostsAdd the following two lines:
192.168.42.42 gewisweb.dev 192.168.42.42 pma.dev -
You should now be able to access gewisweb at gewisweb.dev and phpmyadmin at pma.dev
-
To stop the vm use stop.bat or stop.sh or
vagrant haltfrom the command line
You can enter the virtual machine at any time using vagrant ssh to make changes or to test things as needed. In many cases Vmware will offer some increased performance of virtual box. If you have Vmware installed you can edit the config.yaml file to use Vmware instead of Virtualbox.