Skip to content

Instantly share code, notes, and snippets.

@oliverroick
Last active September 24, 2015 08:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oliverroick/55fbf660304f7e076f76 to your computer and use it in GitHub Desktop.
Save oliverroick/55fbf660304f7e076f76 to your computer and use it in GitHub Desktop.
GeoKey install instructions

Get a Debian system up and running

  1. Install vagrant and VirtualBox
  2. Create a directory where you place everything GeoKey
  3. 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
  1. Start the VM: vagrant up
  2. SSH into the VM vagrant ssh
  3. Install git:
sudo apt-get update && sudo apt-get upgrade
sudo apt-get install git

You have successfully created a Debian VM.

Installing Geokey

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.

Done

To shut down the VM after you finished working, use vagrant halt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment