Getting Started - nikhiljohn10/mozkportal GitHub Wiki
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
-
Go to https://github.com/varghesethomase/mozkportal and fork the git
-
Clone in terminal ( Replace username with your github username )
$ git clone [email protected]:username/mozkportal.git
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!