MEAN.IO have following requirements, to be pre-installed on the system.
- Git client
First of all, install Nodejs and NPM on your system by running the following commands on your system.
curl -sL https://deb.nodesource.com/setup_10.x | sudo bash - sudo apt-get install nodejs
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
Now install some more required packages for working with Mean.io.
sudo apt-get install git sudo npm install gulp
Setup Mean.io Stack
Let’s clone the mean.io source code from its official git repository and install the required node modules.
git clone --depth 1 https://github.com/linnovate/mean.git cd mean && npm install
Now use the following command to start the node development server. This option is not recommended for production use.
Then, open a browser and go to: