Install Mean.io On Ubuntu, Debian & LinuxMint

MEAN is a fullstack JavaScript based framework, which accelerates web application development much faster than other frameworks. This tutorial will help you to install Mean stack on Ubuntu, Debian and LinuxMint systems.
MEAN.IO have following requirements, to be pre-installed on system.
  • Node.js
  • MongoDB
  • Git – package manager

Install NPM & Node.js

First use the following commands to install npm and nodejs on your system. In below commands first command will installed some required packages on system. Second command will add ppa for node.js to your system. After that update your all attached ppa and last command will install nodejs and npm on your system.
$ sudo apt-get install python-software-properties python g++ make $ sudo add-apt-repository ppa:chris-lea/node.js $ sudo apt-get update $ sudo apt-get install nodejs 

Install MongoDB

Now execute the following commands to install MongoDB on your system. Visit here for detailed installation instructions about latest mongodb.
$ sudo apt-get install mongodb mongodb-server 

Install Required Packages

Now install some more required packages for working with Mean.io.
$ sudo apt-get install git $ sudo npm install gulp 

Install Mean.io CLI

Now install mean.io cli tools using npm on your system
$ sudo npm install -g mean-cli 
After install mean cli tools, create your first app using following commands.
$ mean init myApp $ cd myApp && npm install 

Start Node Server

Now use the following command to start node developement server. This option is not recommended for production use.
$ node server 
Then, open a browser and go to:
 http://localhost:3000 
mean-io-home

Thanks for Visit Here

Comments