Last active
August 29, 2015 14:06
-
-
Save tothandras/a2e6de0227d142ae9d56 to your computer and use it in GitHub Desktop.
VAGRANT UP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Bootstrap script | |
$bootstrap = <<SCRIPT | |
apt-get update | |
apt-get install -y nodejs nodejs-legacy npm git | |
npm install -g bower | |
npm install -g gulp | |
cd synergy | |
npm install | |
SCRIPT | |
Vagrant.configure("2") do |config| | |
# For a complete reference, please see the online documentation at vagrantup.com. | |
# Every Vagrant virtual environment requires a box to build off of. | |
config.vm.box = "ubuntu/trusty32" | |
config.vm.provision :shell, inline: $bootstrap | |
config.vm.synced_folder ".", "/home/vagrant/buildbot-heroku" | |
# Create a forwarded port mapping which allows access to a specific port | |
# within the machine from a port on the host machine. In the example below, | |
# accessing "localhost:8080" will access port 8080 on the guest machine. | |
config.vm.network "forwarded_port", guest: 8080, host: 8080 | |
# Forward livereload port | |
config.vm.network "forwarded_port", guest: 35729, host: 35729 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment