Skip to content

A Vagrant VM for setting up and running the Tangram vector-map library

License

Notifications You must be signed in to change notification settings

tangrams/tangram-vm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Vagrant VM for setting up and running the Tangram vector-map library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages