Old Release

This documentation relates to an old version of VIVO, version 1.12.x.
Looking for another version? See all documentation.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 11 Next »

Summary

This document presents the process required to develop a new language to be integrated into VIVO and Vitro. It is intended for any developer who wishes to develop a new integrated language. The development process requires a good knowledge of the VIVO internal structure and its internal working mechanisms. This document describes the development cycle of new languages as well as the components required for this development.

Development Cycle


Vivo's internationalization process is a five-step cycle:

  1. At the beginning of the cycle, the first step is to compile, deploy, and run the Vivo instance on the local computer.
  2. The second step is to test and identify problems related to internationalization.
  3. If everything works properly this ends the development cycle.
    1. When a problem is identified it is necessary to search the code to find the problem.
    2. This involves doing a lot of pattern managing search activities.
  4. In fourth place, comes the stage of correcting the problem.
    1. Once the problem has been identified, the professional must edit the concerned file to make correction.
  5. In step five certain databases need to be initialized depending on the type of correction made.
    1. Then back to step one of recompiling and running vivo.

Starting Step

This step consists in setting up the software elements necessary to run an VIVO instance on a local host.

Item 1) VIVO's software infrastructure installation

First it is necessary to install Java, Maven, GIT, and SOLR. If necessary, you will find instructions at the following link:  Starting with basic installation: Java-Maven-Solr-GIT

Secondly, it is essential to install the Apache Tomcat application server. You will find the necessary instructions for its installation at the following link: Installing Tomcat 8.5 for VIVO

Item 2) Configuring the code's host environment and extract it

StepAction

1) Creating the GIT directory

Whether under Windows or on Unix it is necessary to create a space in which it is possible to work. As proposals we suggest creating a directory called under the Tomcat root directory. In the case of users and Unix we suggest to carry out the operations under the tomcat username. This precaution facilitates the management of credentials associated with development under Linux.

sudo -i -u tomcat # sudo in Linux - not on Windows
mkdir $TOMCAT_HOME/GIT # $TOMCAT_HOME is predefined at the installation of Tomcat
cd $TOMCAT_HOME/GIT

2) Retrieving the code

To VIVO internationalization, it is necessary to extract the four following GitHub repo:


git clone https://github.com/vivo-project/Vitro.git Vitro -b branch_name_to_be_coming
git clone https://github.com/vivo-project/VIVO.git VIVO -b branch_name_to_be_coming
git clone https://github.com/vivo-project/VIVO-languages VIVO-languages -b branch_name_to_be_coming
git clone https://github.com/vivo-project/Vitro-languages Vitro-languages -b branch_name_to_be_coming

Item 3) Configuring SOLR for Vivo

StepAction

1) Configuring SOLR

suivre les étapes de configuration disponible à ce lien: Configure and Start Solr

2) Check vivocore in Solr

sudo systemctl start solr
http://localhost:8983/solr/#/vivocoreIsabelle/core-overview



  • No labels