Skip to content

Commit

Permalink
First commit. No error checking, just a list of commands found around…
Browse files Browse the repository at this point in the history
… the internet
  • Loading branch information
dhanesh committed May 29, 2014
0 parents commit 8385a4f
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.*~
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
This is a shell script created to make the setup of a MEAN stack easy on Ubuntu servers.

MEAN stands for MongoDB, Express.js, Angular.js and Node.js software stack used to develop web applications.

MEAN is similar to LAMP software stack which is an abbreviation for Linux, Apache, MySQL and PHP
22 changes: 22 additions & 0 deletions mean.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
echo 'Configuring system for MongoDB'
echo 'Adding MongoDB public key'
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 7F0CEB10
echo 'Adding MongoDB repository to the source list'
echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' | sudo tee /etc/apt/sources.list.d/mongodb.list
echo 'Updating local package information'
sudo apt-get update
echo 'Installing MongoDB'
sudo apt-get install mongodb-org -y
echo 'Configuring system for Node.js'
sudo apt-get install python-software-properties -y
sudo apt-get install software-properties-common -y
sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
echo 'Installing nodejs'
sudo apt-get install python-software-properties python g++ make nodejs -y
sudo apt-get install npm -y
sudo apt-get install nodejs-legacy -y
echo 'Installing Express.js'
npm install -g express-generator
echo 'Configuring system for Angular.js'
npm install -g bower

0 comments on commit 8385a4f

Please sign in to comment.