This is the repo for the JavaScript.com website.
- Install NVM (
$ brew install nvmand follow instructions) $ nvm install iojs-v1.2.0$ nvm use iojs-v1.2.0
- Install dependencies with
$ npm install. - Create the local PostgreSQL database with
$ createdb javascriptcom. - Load schema with
$ psql javascriptcom < db/schema.sql - This app authenticates with GitHub, so you'll need to create a GitHub Application and set ENVs for
GH_CLIENT_IDandGH_CLIENT_SECRET. - Run the application with
$ npm start. - Compile and watch Sass with
$ gulp.
For debugging all the things, run DEBUG=* npm start.
If you add any runtime dependencies, you must run npm shrinkwrap and
commit changes to npm-shrinkwrap.json.