Setting Up Your Environment - Part 1 - Walkthrough of GeoConcerns
Jun 7, 2016
Setting up your environment
- Development requirements
- Local attendees setup VirtualBox/Vagrant
Development requirements
GeoConcerns has similar prerequisites to the Hydra Curation Concerns project. There are additional dependencies related to processing geospatial data.
Software you should have installed on your development computer
Local attendees of the workshop have the option of just using the pre-created environment on the provided thumb-drive. If you are not at the workshop, you can create the virtual machine for the workshop, by following this guide.
Local attendees setup VirtualBox/Vagrant
Good news for local workshop participants, this is already done for you using VirtualBox and Vagrant. On the thumb-drive underneath a directory titled ‘geo-concerns-demo’.
Vagrant Quick Tips
After you have your virtual machine up and going, you will want to stop it. Here are a few commands that will help out.
$ vagrant halt # stops the virtual machine
$ vagrant destroy # stops and deletes the virtual machine
Vagrant for OS X and Linux
-
Install the Mac (.dmg) version of VirtualBox and Vagrant on your machine. If you are using Linux, please download and install appropriately. VirtualBox Downloads, Vagrant Downloads
-
If not already on your Desktop, copy the
geo-concerns-demo
directory and thegeo-concerns-demo-data
directory to your~/Desktop
directory -
Move to your
~/Desktop/geo-concerns-demo
directory$ cd ~/Desktop/geo-concerns-demo
-
Start vagrant
$ vagrant up # This command creates and configures guest machines according to your Vagrantfile.
-
SSH to the VM
$ vagrant ssh # This will SSH into a running Vagrant machine and give you access to a shell.
Vagrant for Windows
Thanks to Zach Vowell who contributed this guide for Windows.
Note: Please install a Windows ssh client installed such as PuTTY.
-
Install the Windows (.exe) version of VirtualBox and Vagrant on your machine.
-
If not already on your Desktop, copy the
geo-concerns-demo
directory and thegeo-concerns-demo-data
directory to your DesktopC:\Users\[username]\Desktop
(for Windows 7) -
Open a Windows Command Prompt (cmd)
-
Move to the
geo-concerns-demo
directory on the DesktopC:\Users\[username]> cd Desktop\geo-concerns-demo
-
Start Vagrant
C:\Users\[username]\Desktop\geo-concerns-demo> vagrant up # This command creates and configures guest machines according to your Vagrantfile.
-
Open up PuTTY
-
SSH into the Vagrant box by entering the following parameters into the “Basic Options for Your PuTTY session” window: - Host Name (or IP address): 127.0.0.1 - Port: 2222
-
When PuTTY shell prompts for a username and password, enter “vagrant” for both. You should now see a command prompt.
- Introduction
- Part 1 - Setting up your environment
- Part 2 - Create your application
- Part 3 - Starting the application
- Part 4 - Create an image work
- Part 5 - Add files to the image work
- Part 6 - Create a raster work
- Part 7 - Create a collection
- Part 8 - Create a vector work
- Part 9 - Viewing derivatives