Kuali Open Library Environment (KOLE) 1.0 can be downloaded directly from maven central or checked out from the svn repository.
1. Obtaining the software :
- Directly downloading the deployable units:
- olefs-webapp-1.0.0.war : This artifact deals with the financial and library management features and can be downloaded from http://shrub.appspot.com/maven.kuali.org/release/org/kuali/ole/olefs-webapp/1.0.0/
- ole-docstore-webapp-1.0.0.war: This deals with the cataloging/indexing and searching of Bibliographic, Holdings and Item data and can be downloaded from http://shrub.appspot.com/maven.kuali.org/release/org/kuali/ole/ole-docstore-webapp/1.0.0/
- Both of the above deployable units are needed for KOLE to function properly.
- Checking out the codebase from SVN - https://svn.kuali.org/repos/ole/tags/ole-1.0.0/
2. Running the software :
- Depending on how the software was obtained, there are certain steps to be followed and are explained below;
- Downloaded directly
- Copy and paste the war files in your local tomcat folder (goes under the tomcat home foder/webapps)
- Ensure the following folders are empty for a clean start
- logs folder
- work/Catalina/localhost
- Rename the war files from olefs-webapp-1.0.0.war to olefs.war and oledocstore-webapp-1.0.0.war to oledocstore.war respectively
- Create the following folder(s) in your user.home directly
- kuali/main/local/olefs-webapp
- Create a file named runonce.properties
- kuali/main/local/oledocstore-webapp
- Create a file named runonce.properties
- kuali/main/local/olefs-webapp
runonce.properties file is used to indicate weather the database should be reset during application startup. Typically db needs to be set up for the very first time.
runonce.propertiesproject.db.reset=TRUE
- Customize application urls: By default, once the application is deployed, it can be accessed at http://localhost:8080/olefs and http://localhost:8080/oledocstore respectively. But for a local install the URL needs to be updated from localhost to an address that will be accessible publicly.
- Create a file called common-config.xml under user.home/kuali/main/local. This files contains any default parameters that needs to be overridden externally. Contents of the file are as follows
- keystore.file - This file can be downloaded from [fill me] and placed under your tomcat folder
- appserver.url - This value is the URL of the application
- Database section - You can comment out the db params that are not in use. For example if you are using Oracle, comment out MySQL portion and vise versa.
- Email Settings: Fill the param values for your local email server. This is critical for the deliver functionality where notices etc have to be sent out to Patrons etc.
- Create a file called common-config.xml under user.home/kuali/main/local. This files contains any default parameters that needs to be overridden externally. Contents of the file are as follows
- Run tomcat
- Verify application is up and running:
- Open up a web browser and verify the apps are up. Ex: configuredURL/olefs and configuredURL/oledocstore respectively
As part of application startup depending on weather db reset was required, the file runonce.properties under user.home/kuali/main/local/olefs-webapp and user.home/kuali/main/local/oledocstore-webapp should have the following entry;
runonce.propertiesproject.db.reset=COMPLETED
There are also workflow files that get loaded as part of the application start up only the 1st time when the db is in a clean state. These files have the necessary document types, roles and permissions for the application to function out of the box. Further roles/permissions can be configured via the application at a later stage. To verify roles/permissions got ingested properly, there will be the following folders created automatically during application startup
a. user.home/kuali/main/local/olefs-webapp/workflow/pending - This is the directory where the default files get unpacked
b. user.home/kuali/main/local/olefs-webap/workflow/loaded - This is the directory where, once the files have been ingested into the DB properly will be moved to upon success.
c. user.home/kuali/main/local/olefs-webapp/workflow/problem - This is the directory where files will be moved from pending if there was an error in loading. Tomcat logs will have indications of what might have gone wrong.
- Downloaded directly