Skip to content

Commit

Permalink
Update hydrate.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
joecorall authored Aug 13, 2024
1 parent d87bab3 commit b75b21a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/hydrate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -eou pipefail
# install workbench
git clone https://github.com/mjordan/islandora_workbench
cd islandora_workbench
python3 setup.py install --user --prefix=
docker build -t workbench:latest .

# setup a sample ingest
git clone https://github.com/DonRichards/islandora_workbench_demo_content
Expand All @@ -14,7 +14,11 @@ sed -i 's/^username.*/username: admin/g' islandora_workbench_demo_content/exampl
sed -i 's/^password.*/password: "'"$(cat ../secrets/DRUPAL_DEFAULT_ACCOUNT_PASSWORD)"'"/g' islandora_workbench_demo_content/example_content.yml

# run the ingest
python3 workbench --config "$(pwd)"/islandora_workbench_demo_content/example_content.yml
docker run -it --rm --network="host" \
-v $(pwd):/workbench \
--name wb \
workbench:latest \
bash -lc "python3 workbench --config /workbench/islandora_workbench_demo_content/example_content.yml"

# Wait for derivatives to be created
sleep 30
Expand Down

0 comments on commit b75b21a

Please sign in to comment.