Enterprise Framework

Software Solutions in the Enterprise

How To : Ubuntu 14.04 : Install MEAN stack

How To Install MEAN on Ubuntu 14.04

MEAN = Mongo, Express, AngularJS, Node.js

  1. Install npm, this will install Node.js as well.
    1. sudo apt-get install npm
  2. Install MongoDb
    1. sudo apt-get install mongodb
  3. Create a symlink
    1. sudo ln -s /usr/bin/nodejs /usr/bin/node
  4. Install Bower
    1. sudo npm install -g bower
  5. Install Grunt
    1. sudo npm install -g grunt-cli
  6. Install Latest MEAN.IO
    1. sudo npm install -g meanio@latest
  7. Initialize a new application
    1. mean init {YourNewApp}
  8. Add Dependencies
    1. cd {YourNewApp} && npm install
      1. Express
      2. Mongoose
      3. Passport
      4. AngularJS
      5. Twitter Bootstrap
      6. UI Bootstrap
  9. Run the App
    1. grunt
  10. View in browser
    1. http://YourIP:3000
Visit MEAN.IO for details


Comments are closed