Date: Fri, 29 Mar 2024 08:07:09 +0000 (GMT) Message-ID: <134154453.397.1711699629236@web> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_396_904546951.1711699629232" ------=_Part_396_904546951.1711699629232 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
IVA is developed in HTML5, therefore it is mainly developed in JavaScrip= t and makes a heavy usage of HTML and CSS. It uses NPM as building tool. IV= A also requires of OpenCB JSorolla project to be built, this is a JavaScrip= t library developed for several OpenCB web-based projects, this can be foun= d as Git submodule in IVA.
Stable releases are merged and tagged at master branc= h, you are encourage to use latest stable release for production. Current a= ctive development is carried out at develop branch, only= building is guaranteed and bugs are expected, use this branch for developm= ent or for testing new functionalities. The only dependency of IVA from Ope= nCB is JSorolla.
The following technologies are needed to build IVA: Node.js&nb= sp;and npm
To install Node.js = you can visit this link.
npm stands for node packaged modules and it= is the dependency manager of Node.js.
IVA is an open-source project and can be downloaded either as package(ta= r.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 Cloning into 'iva'... remote: Counting objects: 624, done. remote: Total 624 (delta 0), reused 0 (delta 0), pack-reused 624 Receiving objects: 100% (624/624), 139.37 KiB | 0 bytes/s, done. Resolving deltas: 100% (356/356), done. Checking connectivity... done.
Latest stable release at master branch c= an be downloaded by executing:
$ git clone -b master https://github.com/opencb/iva.git Cloning into 'iva'... remote: Counting objects: 624, done. remote: Total 624 (delta 0), reused 0 (delta 0), pack-reused 624 Receiving objects: 100% (624/624), 139.37 KiB | 191.00 KiB/s, done. Resolving deltas: 100% (356/356), done. Checking connectivity... done.
After this, in both cases, you must execute the f= ollowing command to fetch the JSorolla submodule (only the first time):
git submodule update --init
Go to lib/jsorolla and checkout to develop&nb= sp;branch of Jsorolla by
cd lib/jsorolla git checkout develop
First, you must update JSorolla dependencies, from the root folder execu= te:
cd lib/jsorolla npm install
Finally, to build IVA execute:
We have to install npm packages for IVA, from the the root folder execut= e:
npm install
This will make npm to look at file package.json and install locally all the dependencies listed the= re. Note: Because a bug in Google Polymer npm script you have= to create a symbolic link, this is likely to be solved soon, execute:
cd node_modules/@polymer ln -s ../@webcomponents/shadycss/
And now execute:
npm run build
when completed, all compiled files will be located under the bu= ild folder.
You can copy build content to a web server such as Apache HTTP Server an= d open your favourite internet browser to open IVA.
Table of Contents: