A SSSOM compliant implementation of OxO that is backwards compatible with OxO version 1
The following environment variables must be set:
- OXO2_DATA - This where SSSOM files will be downloaded to and where any output of the OxO2 dataload will be written.
- OXO_CONFIG - Points to the OxO2 config file. This is how OxO2 knows which SSSOM mappings to load. For an example see the
Ensure the following software is installed and available on the user path.
- Java 17 or later
- Maven 3.x
- Git
- Solr 9.x - Ensure SOLR_HOME is set.
- Nemo - download the latest version from Nemo latest or build from source
following instructions here. To check your Nemo installation,
run
nmo --help
.
Define the following environment variables:
- OXO2_DATA - This where SSSOM files will be downloaded to and where any output of the OxO2 dataload will be written.
- OXO_CONFIG - Points to the OxO2 config file. This is how OxO2 knows which SSSOM mappings to load. For an example see the oxo-config.json in root of the OxO2 source code directory.
- Checkout OxO2:
git clone [email protected]:EBISPOT/oxo2.git
and change to OxO2 source directory. - To build, run:
mvn clean install
- Copy solr config to solr:
cp ./oxo2-dataload/solr-config/* $SOLR_HOME/server/solr/configsets
- Start solr:
$SOLR_HOME/bin/solr start --user-managed
- Run OxO2 dataload:
./oxo2-dataload/loadData.sh
- Run OxO backend:
./startBackend.sh
- To build and run frontend:
- Change directory to frontend:
cd oxo2-frontend
- Build frontend:
npm install
- Start frontend:
npm run dev
- Access from browser at:
http://localhost:5173/
- Change directory to frontend: