mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-31 07:12:49 -04:00
Merge pull request #2599 from AlanHohn/vagrant-node-modules
Vagrant node modules
This commit is contained in:
commit
8208b7eb51
3 changed files with 8 additions and 1 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"
|
||||
|
||||
|
|
|
@ -5,12 +5,17 @@ sudo apt-get -y install python-software-properties git
|
|||
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 coffeescript
|
||||
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
|
||||
cd /vagrant
|
||||
sudo npm install
|
||||
sudo npm install -g bower
|
||||
sudo npm install -g brunch
|
||||
sudo npm install -g geoip-lite
|
||||
sudo npm install -g coffee-script
|
||||
bower install --allow-root
|
||||
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
|
||||
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list
|
||||
|
|
Loading…
Add table
Reference in a new issue