Use a synced folder in Vagrant

This commit is contained in:
Gaël Métais
2016-12-30 22:17:29 +08:00
parent 49b460eee3
commit bb3a94eb84
2 changed files with 4 additions and 5 deletions
Vendored
+2
View File
@@ -17,6 +17,8 @@ Vagrant.configure("2") do |config|
vb.customize ["modifyvm", :id, "--cpus", 2]
end
config.vm.synced_folder "./", "/space/YellowLabTools"
config.vm.provision :shell, :path => "server_config/server_install.sh"
end
+2 -5
View File
@@ -15,11 +15,8 @@ npm install forever grunt-cli -g
source ~/.profile
# Installation of YellowLabTools
sudo mkdir /space
sudo chown $USER /space
cd /space
git clone https://github.com/gmetais/YellowLabTools.git --branch master
cd YellowLabTools
sudo chown -R $USER /space
cd /space/YellowLabTools
npm install || exit 1
# Front-end compilation