Comparaison des versions

Légende

  • Ces lignes ont été ajoutées. Ce mot a été ajouté.
  • Ces lignes ont été supprimées. Ce mot a été supprimé.
  • La mise en forme a été modifiée.

...

4. Setupping, Compiling and Running VIVO

4.1 Setupping

StepsDescription

1) Editing appropriate setup xml files:

  • Choosing the Resource Perspective
  • Select the 'setting???xml' file specific to your environment
  • Assign the right value to the attributes: vivo-dir and tomcat-dir
Image Removed

Image Added

2) Configuring the runner

In A) In the Java perspective, scroll down the 'Run' menu and select 'Run Configurations...'.

In B), select the 'Maven Build' vivo-project-i18n-INSTALL. In the 'Goals' field, replace the file name 'settings???xml' by the name you have used in 1)

A)

Image Modified

B)

Image Modified



4.2 Compiling and Running VIVO

StepsDescription


Avertissement

Temporary steps pending merge of feature/i18n_en_CA in the master branch.

1-a) In the Git perspective, right-click on the repository Vivo-installer-i18n

1-b) In the contextual menu, select Switch to

1-c) Then select the feature/i18n_en_CA branch.


Avertissement

Temporary steps pending merge of feature/i18n_en_CA in the master branch.


2-a) In the Java perspective, right-click on vivo-installer-home-i18n

2-b) Select Maven

2-c) Select Update Project...


Avertissement

Temporary steps pending merge of feature/i18n_en_CA in the master branch.

3  Make sure vivo-installer-home-i18n is checked, then click OK.


Info
Steps 1) through 3) must be performed prior to compiling whenever a Git repository was switched to a different branch.


4) In the Java perspective, select vivo-project-i18n INSTALL

5) The Console tab will display the Maven stack trace.

6) Once Maven has compiled the build with success, start Solr.

Image RemovedImage Added

7) When first starting Solr, you might have to authorize its execution through the Firewall. Choose the parameters you deem adequate, and click Authorize.


Avertissement

Appears under Windows


8) Solr is running.

9) Then, start Tomcat.

Image RemovedImage Added

10) Tomcat will launch from another window.

Upon success, the server will display the following message:

INFOS [main] org.apache.catalina.startup.Catalina.start Server startup in xxxxx ms


Avertissement

This new window has to stay open for Tomcat to run.

Closing the window is actually the method used to shut down the server.


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.


Avertissement
When first loading, VIVO will issue a FreemarkerEmailFactory$Setup warning. Ignore it and click on Continue.


11)  Enter the following credentials to access VIVO in administrator mode:

  • UserName: vivo@uqam.ca
  • Password: rootPassword


Avertissement

Corresponds to the values entered in the runtime.properties file.


...