Skip to content

Commit

Permalink
Add fcrepo camel component. Closes #5
Browse files Browse the repository at this point in the history
  • Loading branch information
ruebot committed Feb 18, 2015
1 parent a9d1044 commit 171ba37
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
cache.properties
.DS_Store
tests/test_config.ini
tests/test_config.ini
install/.vagrant
1 change: 1 addition & 0 deletions install/Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.provision :shell, :path => "install.sh"
config.vm.provision :shell, :path => "solr.sh"
config.vm.provision :shell, :path => "camel.sh"
config.vm.provision :shell, :path => "fcrepo-camel.sh"

# Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs
Expand Down
10 changes: 10 additions & 0 deletions install/fcrepo-camel.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
echo "Installing Fcrepo Camel Component"

FCREPO_CAMEL_VERSION=4.1.0
FCREPO_CAMEL_HOME=/usr/share/fcrepo-camel

mkdir $FCREPO_CAMEL_HOME
cd /tmp
wget https://github.com/fcrepo4/fcrepo-camel/releases/download/fcrepo-camel-"$FCREPO_CAMEL_VERSION"/fcrepo-camel-"$FCREPO_CAMEL_VERSION".jar
mv -v fcrepo-camel-"$FCREPO_CAMEL_VERSION".jar $FCREPO_CAMEL_HOME
chown -hR tomcat7:tomcat7 $FCREPO_CAMEL_HOME

0 comments on commit 171ba37

Please sign in to comment.