This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## | |
# Cantaloupe ruby delegates file for Islandora Vagrant base box | |
# @modifiedby: Diego Pino, [email protected] | |
# Tested with Version 4.1 | |
# | |
# The application will create an instance of this class early in the request | |
# cycle and dispose of it at the end of the request cycle. Instances don't need | |
# to be thread-safe, but sharing information across instances (requests) | |
# **does** need to be done thread-safely. | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:8000> | |
# The ServerName directive sets the request scheme, hostname and port that | |
# the server uses to identify itself. This is used when creating | |
# redirection URLs. In the context of virtual hosts, the ServerName | |
# specifies what hostname must appear in the request's Host: header to | |
# match this virtual host. For the default virtual host (this file) this | |
# value is not decisive as it is used as a last resort host regardless. | |
# However, you must set it for any further virtual host explicitly. | |
#ServerName www.example.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd $HOME | |
git clone https://github.com/cantaloupe-project/cantaloupe | |
cd cantaloupe | |
git checkout release/4.1 | |
mvn clean package -DskipTests | |
sudo rm -rf /var/lib/tomcat7/webapps/cantaloupe* | |
sudo cp /home/vagrant/cantaloupe/target/cantaloupe-4.1.5-SNAPSHOT.war /var/lib/tomcat7/webapps/cantaloupe.war | |
sudo service tomcat7 start | |
sudo service apache2 start |
OlderNewer