Skip to content

Commit

Permalink
Merge pull request #4 from ryanlovett/gtriescanner
Browse files Browse the repository at this point in the history
Install gtrieScanner.
  • Loading branch information
ryanlovett authored Sep 24, 2024
2 parents 3c8a4f4 + eee6098 commit bdf094d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions postBuild
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
#!/usr/bin/env bash

set -e

# installing chromium browser to enable webpdf conversion using nbconvert
export PLAYWRIGHT_BROWSERS_PATH=${CONDA_DIR}
playwright install chromium

# As requested in slack.
# http://www.dcc.fc.up.pt/gtries/
# https://github.com/ComplexNetworks-DCC-FCUP/gtrieScanner
cd /tmp
wget https://www.dcc.fc.up.pt/gtries/gtrieScanner_src_01.zip
unzip gtrieScanner_src_01.zip
cd gtrieScanner_src_01
make
# CONDA_DIR is writable by our UID in postBuild. Ideally this would be
# in /usr/local/bin/.
install -m 0755 gtrieScanner ${CONDA_DIR}/bin/

0 comments on commit bdf094d

Please sign in to comment.