Skip to content

zwrawr/dev.zakwest.co.uk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

dev.zakwest.tech

A vagrant setup for development of www.zakwest.co.uk

Tools

You need these tools installed to be able to use this project.

Downloading

dev.zakwest.co.uk

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

Using vagrant

It's important to do this from a git-bash shell running as admin if your on windows.

Starting the VM

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

Stoping the VM

To stop the VM when your done working on the project do

    vagrant halt

SSHing into the VM

The vm can be accessed via ssh by using

    vagrant ssh

Destroying and rerunning the VM

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