Open Source Software CDN
This includes, but not limited to, JS libraries, jQuery plugins, Linux Mirrors, executable files and more.
The instructions below show how to get project dependencies installed and the project running:
- Make sure you have a recent version of Node.js installed. It should include NPM, a package control by default. We’ll use that to fetch our dependencies.
- In addition you are going to require Bower. That will be used to deal with some of the frontend dependencies. Install it using npm like this
npm install bower -g. After that you should have
- The frontend relies on Grunt for various tasks. Install the terminal client using
npm install grunt-cli -g. After this you should have
npm installat frontend/
bower installat frontend/
grunt server. This will run a development server and open the app in your browser. As you make changes to the project it will refresh the browser automatically.
The frontend contains our Node.js based production server. Provided you have installed the project dependencies, simply execute
frontend/serve.js to get it running. Note that it expects to find the data at
dist/ directory. The directory itself may be generated using
grunt build. That will wipe the contents of the directory entirely. After this you should symlink your data so that
dist/data directory points at it.
OSSCDN code is released under the MIT License.