Merge branch 'rel-1.12.0-RC' of https://github.com/vivo-project/VIVO into rel-1.12.0-alpha

This commit is contained in:
Brian Lowe 2021-05-27 16:20:08 +03:00
commit 9652127081
2 changed files with 40 additions and 8 deletions

View file

@ -19,7 +19,7 @@ https://wiki.duraspace.org/display/VIVO/
### Installation Instructions ### Installation Instructions
Installation instructions for the latest release can be found at this location on the wiki: Installation instructions for the latest release can be found at this location on the wiki:
https://wiki.duraspace.org/display/VIVODOC110x/Installing+VIVO https://wiki.duraspace.org/display/VIVODOC112x/Installing+VIVO
### Docker ### Docker
@ -27,7 +27,7 @@ VIVO docker container is available at [vivoweb/vivo](https://hub.docker.com/repo
### Docker Compose ### Docker Compose
Docker Compose environment variables. Docker Compose environment variables:
.env defaults .env defaults
``` ```
@ -36,12 +36,25 @@ RESET_HOME=false
RESET_CORE=false RESET_CORE=false
``` ```
- `LOCAL_VIVO_HOME`: VIVO home directory on your host machine which will mount to volume in docker container. - `LOCAL_VIVO_HOME`: VIVO home directory on your host machine which will mount to volume in docker container. Set this environment variable to persist your VIVO data on your host machine.
- `RESET_HOME`: Convinience to reset VIVO home when starting container. **Caution**, will delete local configuration, content, and configuration model. - `RESET_HOME`: Convenience to reset VIVO home when starting container. **Caution**, will delete local configuration, content, and configuration model.
- `RESET_CORE`: Convinience to reset VIVO Solr core when starting container. **Caution**, will require complete reindex. - `RESET_CORE`: Convenience to reset VIVO Solr core when starting container. **Caution**, will require complete reindex.
Before building VIVO, you will also need to clone (and switch to the same branch, if other than main) of [Vitro](https://github.com/vivo-project/Vitro). The Vitro project must be cloned to a sibling directory next to VIVO so that it can be found during the build. You will also need to clone (and switch to the appropriate branch) of [Vitro-languages](https://github.com/vivo-project/Vitro-languages) and [VIVO-languages](https://github.com/vivo-project/VIVO-languages).
Build and start VIVO. Build and start VIVO.
1. In Vitro-languages, run:
```
mvn install
```
2. In VIVO-languages, run:
```
mvn install
```
3. In VIVO (with Vitro cloned alongside it), run:
``` ```
mvn clean package -s installer/example-settings.xml mvn clean package -s installer/example-settings.xml
docker-compose up docker-compose up

View file

@ -71,8 +71,12 @@ argon2.time = 1000
# Email parameters which VIVO can use to send mail. If these are left empty, # Email parameters which VIVO can use to send mail. If these are left empty,
# the "Contact Us" form will be disabled and users will not be notified of # the "Contact Us" form will be disabled and users will not be notified of
# changes to their accounts. # changes to their accounts.
# Example:
# email.smtpHost = smtp.mydomain.edu # email.smtpHost = smtp.mydomain.edu
# email.replyTo = vivoAdmin@mydomain.edu # email.replyTo = vivoAdmin@mydomain.edu
#
# email.smtpHost =
# email.replyTo =
# #
# URL of Solr context used in local VIVO search. This will usually consist of: # URL of Solr context used in local VIVO search. This will usually consist of:
@ -110,6 +114,22 @@ selfEditing.idMatchingProperty = http://vivo.mydomain.edu/ns#networkId
# #
#externalAuth.netIdHeaderName = remote_userID #externalAuth.netIdHeaderName = remote_userID
# -----------------------------------------------------------------------------
# OPTIMIZING LIST VIEW QUERIES
# -----------------------------------------------------------------------------
#
# Include sections between <precise-subquery></precise-subquery>
# tags when executing 'list view' queries that retrieve data
# for property lists on profile pages.
#
# Including these optional sections does not change the query
# semantics, but may improve performance.
#
# Default is true if not set.
# (Prior to v1.12, default was true for SDB and false for TDB.)
#
# listview.usePreciseSubquery = true
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# TUNING THE DATABASE CONNECTION POOL # TUNING THE DATABASE CONNECTION POOL
@ -128,7 +148,6 @@ selfEditing.idMatchingProperty = http://vivo.mydomain.edu/ns#networkId
# #
# VitroConnection.DataSource.pool.maxIdle = 10 # VitroConnection.DataSource.pool.maxIdle = 10
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------
# USING A DIFFERENT DATABASE # USING A DIFFERENT DATABASE
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------