Getting started with Mean.IO

As a start, the webpage at http://mean.io/#!/ is not really helpful.

But upon reading this page:

https://travismaynard.com/writing/getting-started-with-gulp

So summarizing here:

After downloading “node” from https://nodejs.org/ and locating it in /opt, create a softlink “nodejs” to point to node, nodejs and npm:

lrwxrwxrwx 1 root root 34 Nov 17 11:10 npm -> /opt/node-v4.2.2-linux-x64/bin/npm
lrwxrwxrwx 1 root root 35 Nov 17 11:10 node -> /opt/node-v4.2.2-linux-x64/bin/node
lrwxrwxrwx 1 root root 35 Nov 17 11:10 nodejs -> /opt/node-v4.2.2-linux-x64/bin/node

Next checking its version:

node -v
nodejs -v

Now using npm to install other dependencies globally:

sudo npm install -g jshint gulp-jshint gulp-sass gulp-concat gulp-uglify gulp-rename –save-dev
sudo npm install -g mean-cli
sudo npm install -g bower
sudo npm install -g gulp

Before the following operation, go to the directory where “mynewapp” will be created:

mean init mynewapp

cd mynewapp

npm install
bower install
gulp

A server running at port 3000 will be started after “gulp”.

The entire Mean.IO stack is installed successfully.

The installaion log is here: http://pastebin.com/j6Mm2EDi

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: