This is a sample story telling app using Sails.js, Marionette, Backbone and Mongodb.
- Node.js - Download and Install Node.js. You can also follow this gist for a quick and easy way to install Node.js and npm
- MongoDB - Download and Install MongoDB - Make sure it's running on the default port (27017).
-
Ruby - you need Ruby and Compass to compile scss files to css. Install ruby for Windows or OSX.
Make sure you add Ruby to PATH: e.g. 'c:\Ruby\bin', then run:
gem update --system gem install compass
Install MongoDB, make sure mongod runs on default port (localhost:27017)
Install the following npm packages:
npm install -g bower
npm install -g grunt-cli
npm install -g sails@0.94
Install dependencies:
cd /src/client
npm install
bower install
cd /src/server
npm install
Run server:
cd /src/server
sails lift
Launch client in browser:
cd /src/client
grunt server