/new-website

cdnjs's website and api server

Primary LanguageHTMLOtherNOASSERTION

new-website

Website of https://cdnjs.com, for the cdn content, see cdnjs/cdnjs repo.

Dependency Status Issue Stats Issue Stats

Dependencies

Setup

cd path/to/repo
npm install

Running

MONGOHQ_URL=<mongodb url>
APP=[mainSite|api]
./runServer.sh

Note:

  • Make sure mongod is running if you're using a local database.
  • The artifacts/meta data is on the meta branch.

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