...
Step name and description | Commands | |||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Setting up project |
| |||||||||||||||||||||||||||
Retrieve the DV-IP source code |
| |||||||||||||||||||||||||||
Install Solr + Tomcat |
| |||||||||||||||||||||||||||
Installing/compiling VIVO |
| |||||||||||||||||||||||||||
|
|
Setting up the necessary resources for running Dspace
TODO
Installing the migration utilities
...
Step name and description | Commands | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Validate that the OS contains all the necessary commands to run the dspace2vivo scripts |
| ||||||||||||||||||||||||||||
To identify the package to install for a given application, simply type the command on the command line and run the proposal offered by the system |
| ||||||||||||||||||||||||||||
Validate that all necessary GIT projects are cloned and properly deployed |
| ||||||||||||||||||||||||||||
Test the utilities to make sure they are working |
|
...
Code Block | ||||
---|---|---|---|---|
| ||||
./DSpace-VIVO/test/org.vivoweb.dspacevivo.etlexample/script/mvn_install_example.sh |
...
Code Block | ||||
---|---|---|---|---|
| ||||
./DSpace-VIVO/test/org.vivoweb.dspacevivo.etlexample/script/ETL-migration-DSpace-VIVO.sh |
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
#!/bin/bash ################################################################### # Script Name : # Description : This script encapsulates the functions call allowing the migration of DSpace Demo(6&7) data into VIVO # Args : # Author : Michel Héon PhD # Institution : Université du Québec à Montréal # Copyright : Université du Québec à Montréal (c) 2022 # Email : heon.michel@uqam.ca ################################################################### export SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd -P)" source $SCRIPT_DIR/00-env.sh cd $SCRIPT_DIR ################################################################### # Clean and setup up data directories and properties cp $RESSOURCESDIR/*.conf $RESSOURCES_TARGET_DIR flush_data_dspace.sh 2>/dev/null flush_data_dspace6.sh 2>/dev/null flush_data_dspace7.sh 2>/dev/null ################################################################### # Extract dspace(6-7) demo data ./extract-dspace6.sh ./extract-dspace7.sh cp -r $DATA_DEMO6_DIR/* $DATA_DEMO7_DIR/* $DATA_DIR ################################################################### # Produce all list echo run produce-list-of-expertise.sh produce-list-of-expertise.sh ########################### echo run produce-list-of-itemtype.sh produce-list-of-itemtype.sh ########################### echo run produce-list-of-persons.sh produce-list-of-persons.sh ################################################################### # Process transformation and load to VIVO load-data-to-vivo.sh transform-map-vivo-doc-type.sh load-data-doc_type-to-vivo.sh ; vivo-recomputeIndex.sh & transform-map-vivo-person.sh load-data-person-to-vivo.sh ; vivo-recomputeIndex.sh & transform-map-vivo-expertises.sh load-data-expertises-to-vivo.sh ; vivo-recomputeIndex.sh & transform-map-expertise-and-item-to-a-person-to-vivo.sh load-data-person-expertise-to-vivo.sh ; vivo-recomputeIndex.sh ################################################################### # Done ETL Process echo "Done!" |
-- End Of Document --