/new-website

🖥 CDNJS 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

export APP=[mainSite|api]   # chose which server you want to run
export LOCAL=true           # local mode will disable the global.gc() function and CSP header
./runServer.sh

Note:

  • 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 --expose-gc [webServer|apiServer].js [--local] instead.