IVA is developed in HTML5, therefore it is mainly developed in JavaScript and makes a heavy usage of HTML and CSS. It uses Grunt as building tool. IVA also requires OpenCB JSorolla project to be built, which is a JavaScript library developed for several OpenCB web-based projects. This can be found as Git submodule in IVA.
The following technologies are needed to build IVA: Node.js, npm, Bower and Grunt.
To install Node.js you can visit this link.
npm stands for node packaged modules and it is the dependency manager of Node.js.
After installing Node.js and npm, we can install Bower by executing the following commands with root permission:
sudo npm install -g bower |
To install grunt, run
sudo npm install -g grunt-cli |
IVA is an open-source project and can be downloaded either as package(tar.gz) from GitHub releases or source code by cloning the repository.
Default develop branch can be downloaded by executing:
git clone https://github.com/opencb/iva.git |
Latest stable release at master branch can be downloaded by executing:
git clone -b master https://github.com/opencb/iva.git |
After this, in both cases, you must execute the following command to fetch the JSorolla submodule (only the first time):
git submodule update --init |
Go to lib/jsorolla and checkout to next-v2.0.0 branch of Jsorolla and do the following:
cd lib/jsorolla git checkout next-v2.0.0 npm install bower install grunt |
Finally, to build IVA execute:
We have to install npm packages for IVA, from the the root folder execute:
npm install |
This will make npm to look at file package.json and install locally all the dependencies listed there.
To install all Bower dependencies for IVA execute from the root folder:
bower install |
This will make Bower to look at file bower.json and install locally all the dependencies.
At last execute:
grunt |
When completed, all compiled files will be located under the build folder.
Table of Contents: