This app is based on the "Working with data in Sails.js" tutorial by Gabriel Manricks on net.tutsplus.com. The code base has been updated to use the latest version of Sails.js v0.9.3, and comments have been added where the code differs from the original tutorial.
Please also check out the branches, which provide examples of working with Backbone, Requirejs, Bower and Angular.
Feel free to create issues or pull request where the code could be improved (especially on the branches, since I am new to some of the libraries in use).
#####Installation: You must have Node.js installed, which includes npm (node package manager).
From terminal-
- cd into the directory you'd like to install the app.
- Run "git clone [email protected]:ichabodcole/Sails.js_ChatApp_v0.9.3.git"
- cd into the newly created directory.
- Run "npm install" to install the necessary packages.
- Run "sails lift"
#####Notes:
- If you receive an error message related to running in root/administrator mode, you may need to use "sudo npm install", however a better recommendation is to follow the instructions found here http://howtonode.org/introduction-to-npm, under "what, no sudo?"
- For some of the modular branches you will also need to run "npm install bower" after step 4.