Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 1.33 KB

README.md

File metadata and controls

44 lines (27 loc) · 1.33 KB

tangram-vm

A Vagrant virtual machine (VM) for setting up and running the Tangram WebGL vector-map display library (https://github.com/tangrams/tangram).

(A virtual machine is an operating system emulator. This one runs Ubuntu, one of the most popular versions of Linux.)

Live public demo: http://vector-map.mapzen.com

vector-map render of lower Manhattan

###Requirements:

=============

###vm setup

After cloning this repository and starting a terminal window inside the directory, the steps below will provision the VM. (You may need to confirm a ssh-authentication step.)

# start the VM
vagrant up
vagrant ssh

# navigate to the shared directory and run the first install script
cd /vagrant
bash install1.sh

# open a new terminal window, ssh back into the vm, and run the second script
vagrant ssh
cd /vagrant
bash install2.sh

Test the setup in a browser: http://localhost:9000/#mapzen

Note for Windows users: you may need to start the ssh-agent for each new bash session in order for git authentication to work. From outside the vm, run:

eval `ssh-agent -s` 
ssh-add ~/.ssh/*_rsa

See http://stackoverflow.com/a/19792331/738675