Created
September 1, 2016 07:21
-
-
Save fnicastri/54328e3140f9930780ddc68aff64e4c3 to your computer and use it in GitHub Desktop.
NodeJS + Express + Ubuntu 14.4 Vagrant env
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 : | |
Vagrant.configure(2) do |config| | |
config.vm.box = "ubuntu/trusty64" | |
config.vm.network "private_network", ip: "55.55.55.101" | |
config.vm.synced_folder "shared", "/home/vagrant/shared/" | |
config.vm.provision "shell", inline: <<-SHELL | |
sudo apt-get update | |
sudo apt-get install -y wget | |
sudo apt-get install -y curl | |
sudo apt-get install -y vim | |
sudo apt-get install -y git | |
sudo apt-get install -y build-essential | |
sudo curl -sL https://deb.nodesource.com/setup_0.12 | sudo bash - | |
sudo apt-get install -y nodejs | |
sudo curl -L https://npmjs.org/install.sh | sudo sh | |
sudo npm install -g express | |
sudo npm install -g angular | |
sudo npm install -g bower | |
sudo npm install -g grunt | |
sudo npm install -g gulp | |
sudo npm install -g gulp-cli | |
sudo npm install -g yo | |
sudo npm install -g browserify | |
sudo npm install -g karma | |
sudo npm install -g jasmine | |
sudo npm install -g qunit | |
SHELL | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment