forked from rsdevigo/jungle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bootstrap.sh
30 lines (23 loc) · 954 Bytes
/
bootstrap.sh
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
30
echo "========================="
echo "Provisioning VM..."
echo "========================="
cd /home/vagrant
echo "Installing mongodb..."
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 update
sudo apt-get install -y mongodb-org
sudo service mongod start
echo "Adding node.js repository..."
curl -sL https://deb.nodesource.com/setup | sudo bash -
echo "Installing apps..."
sudo apt-get install -y emacs24-nox unzip bash nodejs git
sudo npm install -g npm grunt-cli
echo "Installing liquid prompt..."
git clone https://github.com/nojhan/liquidprompt.git
echo "source ~/liquidprompt/liquidprompt" >> .bashrc
echo "Installing Yeoman & generator..."
sudo npm install -g yo generator-meanjs
echo "========================="
echo "Provisioning finished"
echo "========================="