mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-27 06:23:41 -04:00
vagrant fix issues with node_modules bind mount
This commit is contained in:
parent
8bf7a29d9e
commit
2bc2f90665
3 changed files with 3 additions and 0 deletions
scripts/vagrant
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
vagrant ssh -c "sudo mount -o bind /node_modules /vagrant/node_modules"
|
||||
vagrant ssh -c "cd /vagrant && bin/coco-brunch"
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
#!/bin/sh
|
||||
vagrant ssh -c "sudo mount -o bind /node_modules /vagrant/node_modules"
|
||||
vagrant ssh -c "cd /vagrant && bin/coco-dev-server"
|
||||
|
||||
|
|
|
@ -6,6 +6,7 @@ sudo add-apt-repository -y ppa:chris-lea/node.js
|
|||
sudo apt-get -y update
|
||||
sudo apt-get -y install nodejs
|
||||
sudo apt-get -y install g++ make
|
||||
mkdir /vagrant/node_modules
|
||||
sudo mkdir /node_modules
|
||||
sudo chown vagrant:vagrant /node_modules
|
||||
sudo mount -o bind /node_modules /vagrant/node_modules
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue