Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Commit

Permalink
Add API-X to vagrant install; Resolves Islandora/documentation#504
Browse files Browse the repository at this point in the history
  • Loading branch information
ruebot committed Jan 24, 2017
1 parent ea92fe0 commit 945f1d4
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
2 changes: 2 additions & 0 deletions configs/karaf/api.script
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feature:repo-add mvn:org.fcrepo.apix/fcrepo-apix-karaf/LATEST/xml/features
feature:install fcrepo-api-x
2 changes: 2 additions & 0 deletions configs/karaf/apix.script
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
feature:repo-add mvn:org.fcrepo.apix/fcrepo-api-x-karaf/0.1.0/xml/features
feature:install fcrepo-api-x
13 changes: 13 additions & 0 deletions scripts/api-x.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash
echo "Installing API-X"

HOME_DIR=$1

if [ -f "$HOME_DIR/islandora/configs/variables" ]; then
. "$HOME_DIR"/islandora/configs/variables
fi

export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64

echo "Installing Alpaca"
$KARAF_CLIENT -f $KARAF_CONFIGS/apix.script

0 comments on commit 945f1d4

Please sign in to comment.