mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-11-25 00:28:31 -05:00
23 lines
851 B
Bash
23 lines
851 B
Bash
|
#!/bin/bash
|
||
|
# Original content copyright (c) 2014 dpen2000 licensed under the MIT license
|
||
|
sudo apt-get -y update
|
||
|
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
|
||
|
cd /vagrant
|
||
|
sudo npm install
|
||
|
sudo npm install -g bower
|
||
|
sudo npm install -g brunch
|
||
|
sudo npm install -g geoip-lite
|
||
|
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
|
||
|
sudo apt-get -y update
|
||
|
sudo apt-get -y install mongodb-org
|
||
|
sudo apt-get -y install ruby1.9.1 ruby1.9.1-dev
|
||
|
sudo gem install sass
|
||
|
npm install mongoose
|
||
|
bash /vagrant/scripts/vagrant/fillMongo.sh
|