-
Notifications
You must be signed in to change notification settings - Fork 0
/
Vagrantfile
29 lines (23 loc) · 1019 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.synced_folder ".", "/vagrant", disabled: true
config.vm.synced_folder "./data", "/vagrant", type: "rsync", owner: "vagrant", group: "vagrant"
config.vm.provider "virtualbox" do |vb|
vb.memory = "2048"
end
config.vm.provision "shell", privileged: false, inline: <<-SHELL
sudo apt-get update
sudo apt-get install -y vim tmux git silversearcher-ag ranger
git clone --recursive https://github.com/msimkunas/dotfiles.git ~/.dotfiles
bash ~/.dotfiles/install.sh -u vagrant -c
curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -
sudo apt-get install -y nodejs
mkdir $HOME/.npm_packages
npm config set prefix $HOME/.npm_packages
npm install -g gulp
echo "export PATH=$PATH:$HOME/.npm_packages/bin" > ~/.bash_local
SHELL
end