Website of https://cdnjs.com, for the cdn content, see cdnjs/cdnjs repo.
cd path/to/repo
npm install
npm install # install nodejs dependencies
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.