A vagrant setup for development of www.zakwest.co.uk
You need these tools installed to be able to use this project.
- GIT: http://git-scm.com/downloads
- Virtual Box: https://www.virtualbox.org/wiki/Downloads
- Vagrant: http://vagrantup.com
This repo contains the configs needed to create and provision a vagrant VM.
git clone https://github.com/zwrawr/dev.zakwest.tech.git dev.zakwest.tech
Fork the www.zakwest.co.uk repo, which contains
cd dev.zakwest.tech/
git clone https://github.com/<your-username>/www.zakwest.co.uk.git www.zakwest.tech
It's important to do this from a git-bash shell running as admin if your on windows.
This starts and provisions a new VM for you to use when testing. The first time you do this it'll take a while.
vagrant up
To stop the VM when your done working on the project do
vagrant halt
The vm can be accessed via ssh by using
vagrant ssh
This is only needed if the VM needs to be reprovisioned or if somethings really gone wrong.
vagrant destroy
The to rebuild and restart the VM do
vagrant up