Skip to content
Gautam krishna.R edited this page Jun 6, 2015 · 6 revisions

Installing Sails

Install nodejs

  • Fedora / Centos

    $ sudo yum update

    $ sudo yum install nodejs

  • Debian / Ubuntu

    $ 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

Make sure npm version is greater than 1.4.0.

$ sudo npm -g install npm@latest

Install Forever module

$ sudo npm -g install forever

Install sails module

$ sudo npm -g install sails

Using Sails

Fork & Clone

Running the sails application

"Sails don't run, it sails after the anchors are lifted."

$ cd mozkportal

$ sudo npm -g install

$ sails lift

Wish you happy sailing. Enjoy!

Clone this wiki locally