Document Status : draft, awaiting review
This section presents a step-by-step execution of the process of extracting, compiling, and executing VIVO with UQAM-DEV.
The table below shows the list of variables used in this procedure
Variable name | Value |
---|---|
UQAM_DEV | Home directory of eclipse installation (ex.: c:\UQAM_DEV on Windows or /home/user_name/uqam_dev on linux) |
ECLIPSE_HOME | $UQAM_DEV/eclipse |
TOMCAT_HOME | $ECLISPE_HOME/apache-tomcat-8.5.11 |
TOMCAT_WEBAPP | $TOMCAT_HOME/webapp |
SOLR_HOME | $ECLISPE_HOME/solr-7.7.2 |
VIVO_HOME | $ECLISPE_HOME/vivo/home |
GIT_HOME | $UQAM_DEV/GIT (Proposal) |
This step consists of editing the files needed to configure VIVO.
Steps | Description | |
---|---|---|
a) Setup "applicationSetup.n3" for the use of TDB for data persistence.For this step, just rename the file example.tdb.applicationSetup.n3 by applicationSetup.n3 | ||
b) Setup runtime.propeties for configuring the VIVO runtimes attributes
|
|
2.1 Select the Git perspective 2.2 Click on Clone Git repository | ||
2.3 Provide the repository URI : https://github.com/UQAM-VIVO/Vivo-installer-i18n.git and click Next | ||
2.4 Select
| ||
2.5 Make sure the proper path to the Git directory is provided (Ex.: if your UQAM_DEV variable equal C:\UQAM_DEV 2.6 Click Finish to add the repository to UQAM-DEV. | ||
2.7 Repeat steps 2.1 through 2.6 using the following repositories URI: https://github.com/vivo-project/Vitro.git https://github.com/vivo-project/VIVO.git https://github.com/vivo-project/Vitro-languages.git https://github.com/vivo-project/VIVO-languages Note: for developement purposes, you would have to clone VIVO repositories in your own GitHub account and clone those URI instead.
| ||
2.8 When all the repositories are cloned, your Git perspective should look like this: |
3.1 In the menu File, select Import | |
3.2 Select Maven > Existing Maven Projects, and click next | |
3.3 Provide the path to the Git repository, and click Finish | |
3.4 Selecting the Java perspective, this is how your Project Explorer should look after the importation |
4.0.1 In the Git perspective, right-click on the repository Vivo-installer-i18n 4.0.2 In the contextual menu, select Switch to 4.0.3 Then select the | |||
4.0.4 In the Java perspective, right-click on vivo-installer-home-i18n 4.0.5 Select Maven 4.0.6 Select Update Project... | |||
4.0.7 Make sure vivo-installer-home-i18n is checked, then click OK.
| |||
4.1 In the Java perspective, select vivo-project-i18n INSTALL | |||
4.2 The Console tab will display the Maven stack trace. | |||
4.3 Once Maven has compiled the build with success, start Solr. | |||
4.4 When first starting Solr, you might have to authorize its execution through the Firewall. Choose the parameters you deem adequate, and click Authorize. | |||
4.5 Solr is running. | |||
4.6 Then, start Tomcat. | |||
4.7 Tomcat will launch from another window. Upon success, the server will display the following message:
| |||
4.8 VIVO will be available at http://localhost:8080/vivo/ It may take some time for the initial page to load, as VIVO will be building its database.
| |||
4.9 Enter the following credentials to access VIVO in administrator mode:
|
5.1 Follow this link to download the dataset on your computer : sample-data-fr_localhost-vivo.ttl | |
5.2 In VIVO, log in as administrator (see point 3.9 above) and click on Site Admin. | |
5,3 Click on Add / Remove RDF data | |
5.4 Upload the dataset downloaded on step 4.1 5.5 Select Add mixed RDF 5.6 Select Turtle format 5.7 Check create classgroups automatically 5.8 Submit | |
5.9 VIVO might take some time to populate the triplestore. |