GitHub - panda2uk/MongoJavaScriptSTB

MongoDB Soup To Bits

This is the repo for the MongoDB Soup To Bits that uses a simplified version of JavaScript.com

Installing NVM

Install NVM ($ brew install nvm and follow instructions)

nvm install 4.2.1
nvm use 4.2.1
npm install -g gulp
npm install

This app authenticates with GitHub, so you'll need to create a GitHub Application and set ENVs for GH_CLIENT_ID and GH_CLIENT_SECRET.

Running

Run the application with $ npm start. You can also set the environment variables at start time. Here's an example:

$ GH_CLIENT_ID=myid GH_CLIENT_SECRET=mysecret npm start

For debugging all the things, run DEBUG=* npm start.

Building Assets

To build assets locally, you'll need to install Bower dependencies and run these Gulp tasks:

$ bower install
$ gulp sass
$ gulp javascript

Remember to re-run these tasks after pulling or changing branches.