FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

alainyog/JavaScript.com at 674b21cd0a953e6e3ac365e7583719caf4da2d25 · GitHub

Repository navigation

About

A resource for the JavaScript community

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

JavaScript.com

This is the repo for the JavaScript.com website.

Installing NVM

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 install

If you set the BOWER ENV the setup script will download the bower components and compile cs_console (requires ruby!)

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.

Database

NPM will run new migrations whenever you npm start. In order for it to work, you'll need to set the DATABASE_URL ENV to pg://localhost:5432/javascriptcom

To create new migrations see the node-pg-migraton documentation.

Development

If you add any runtime dependencies, you must run npm shrinkwrap and commit changes to npm-shrinkwrap.json.

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.

About

A resource for the JavaScript community

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages


Back | FazBrowse Home | New Git URL