This is the repo for the JavaScript.com website.
Install NVM ($ brew install nvm and follow instructions)
nvm install iojs-v1.2.0
nvm use iojs-v1.2.0
npm install -g gulp
npm installThis app authenticates with GitHub, so you'll need to create a GitHub Application and set ENVs for GH_CLIENT_ID and GH_CLIENT_SECRET.
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 startFor debugging all the things, run DEBUG=* npm start.
Download and install MongoDB
When you run npm start, mongod will be forked as a background process. No need
to create the database either. You're all set.
If you add any runtime dependencies, you must run npm shrinkwrap and
commit changes to npm-shrinkwrap.json.
To build assets locally, you'll need to install Bower dependencies and run these Gulp tasks:
$ bower install
$ gulp sass
$ gulp javascriptRemember to re-run these tasks after pulling or changing branches.