- Install vagrant and VirtualBox
- Create a directory where you place everything GeoKey
- In that directory, create a file called "Vagrantfile" and add the following:
Vagrant.configure(2) do |config|
config.vm.box = "bento/debian-7.8"
config.vm.network "forwarded_port", guest: 8000, host: 8080
end
- Start the VM:
vagrant up
- SSH into the VM
vagrant ssh
- Install git:
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install git
You have successfully created a Debian VM.
To install GeoKey, follow the instructions
The directory in which you placed the Vagrantfile
on your host system is shared with the guest system. After you cloned the repository on your guest system, it is available in the shared directory on the host system. All changes to files will be mirrored to the guest system — you can work in your favourite editor on Windows and run tests and the test server on Linux.
To shut down the VM after you finished working, use vagrant halt