Skip to content

Javascript Dependencies

Jeremy Tubbs edited this page Mar 17, 2015 · 4 revisions

Currently under-development in the "theme" branch

The OSCI Toolkit Frontend now allows developers to create custom themes.

To build custom themes or create distribution ready versions of modified existing themes you will need to have Node.js and Grunt.js installed on your system. Both of which will require running commands from the from your terminal.

First check if Node.js is already installed or update to the latest version:

npm update -g npm

If you get the response command not found you will need to download the Node.js packaged installer: https://nodejs.org/download/

After Node.js is installed you will need to install grunt using npm:

npm install -g grunt-cli

Next navigate to the root directory of your OSCI-Toolkit-Frontend installation and simply run:

npm install

This command installs all of the npm dependencies for the grunt script defined in the package.json file and places them into the node_modules directory.

If you are having trouble running the above commands try prefixing them with sudo which will prompt you for your computer admin password.