Skip to content

nsimonson/new-website

 
 

Repository files navigation

new-website

Website of https://cdnjs.com

Dependency Status Issue Stats Issue Stats

Dependencies

Setup

cd path/to/repo
npm install

Running

CONSUMER_KEY=<twitter app consumer key>
CONSUMER_SECRET=<twitter app consumer secret>
ACCESS_TOKEN=<twitter app access token>
ACCESS_TOKEN_SECRETt=<twitter app access token secret>
MONGOHQ_URL=<mongodb url>
APP=[mainSite|api]
./runServer.sh

Note: Make sure mongod is running if you're using a local database.

Heads up: runServer.sh script only works on Bash. If you're using another shell run node [webServer|apiServer].js instead.

Packages

No packages published

Languages

  • HTML 57.5%
  • JavaScript 38.6%
  • CSS 3.1%
  • Shell 0.8%