...
- Check out the code for OLE-Discovery project from the following SVN Repository:
OLE-Discovery -DISCOVERY_PROJ
Assume that the code is checked out into the following folders:
\projects\OLE-SVN\ole-trunk\ole-discovery\ole-discovery-core – DISCOVERY_CORE_PROJ
\projects\OLE-SVN\ole-trunk\ole-discovery\ole-discovery-webapp – DISCOVERY_WEBAPP_PROJ
\projects\OLE-SVN\ole-trunk\ole-discovery\OLE-SOLR – SOLR_CONFIG_PROJ
Utility -UTILITY_PROJ
- Check out the DocumentStore directory from the following SVN Repository:
Assume that the code is checked out into the following folders:
\projects\OLE-SVN\ole-trunk\DocumentStoreole-docstore\ – DOCSTORE_PROJ
\projects\OLE-SVN\ole-trunk\DocumentStore\ documentstoreole-docstore\ole-docstore-engine - DOCSTORE_ENGINE_PROJ
\projects\OLE-SVN\ole-trunk\DocumentStore\ documentstore-utility ole-docstore\ole-docstore-search – DOCSTORE_UTILITYSEARCH_PROJ
\projects\OLE-SVN\ole-trunk\DocumentStore\ documentstoreole-docstore\ole-docstore-webapp – DOCSTORE_WEBAPP_PROJ
\projects\OLE-SVN\ole-trunk\ole-docstore\ole-solr-config -- DOCSTORE_SOLR_CONFIG_PROJ
2.Building the Code
- Open command prompt and go to the folder: %DOCSTORE_PROJ%
...
- % UTILITY_PROJ %
Run "mvn clean install". It creates documentstore-webapp.war in %DOCSTORE_WEBAPP_PROJ%\target directory.
Rename it to oledocstore.war
- Open command prompt and go to the folder: % DISCOVERY%DOCSTORE_PROJ %PROJ%
Run Run "mvn clean install".
It creates ole-discovery-webapp.war in %DISCOVERY It creates oledocstore.war in %DOCSTORE_WEBAPP_PROJ%PROJ%\target directory.
Rename it to ole-discovery. war
3.Deployment
3.1 Setting up properties
...
- Copy the contents of DOCSTORE_SOLR_CONFIG_PROJPROJ *to *OLE_ DISCOVERY_CONFIG_HOME.
...
docSearchURL=http://localhost:8080/ole-discovery/oledocstore
- Copy DOCSTORE_WEBAPP_PROJ /repository-derby.xml to OLE_DOCSTORE_PROP_HOME.and rename it as repository.xml
...
Modify the port in the following property in the above file to match the Tomcat port. (Default is 8080)
local.docSearchURL=http://localhost:8080/ole-discoveryoledocstore/
3.2 Deploying the War files to Tomcat
- Copy ole-discovery.war file from %DISCOVERY_WEBAPP_PROJ%\target to %TOMCAT_HOME%\webapps folder.
- Copy Copy oledocstore.war file from %DOCSTORE_WEBAPP_PROJ%target to %TOMCAT_HOME%\webapps folder
...
Navigate to the following URLs.
- http://localhost:8080/ole-discovery/oledocstore
- http://localhost:8080/ole-discoveryoledocstore/discovery.do
- http://localhost:8080/oledocstore/ discovery
5.Bulk Ingest
Copy the following sample data files to the folder specified by the property local.bulkIngestDir (only this property) in the file %DOCSTORE_ENGINE_PROJ%\src\main\resources\org\kuali\ole\directory-path.properties. This property should be changed to a directory suitable to the local user's system. (e.g. /ole-test-data/bulkingest). Create this folder if it does not exist.
...
Open a browser.
Go to URL http://localhost:8080/oledocstore/bulkIngestadmin.jsp
Click on 'SubmitBulkIngest' button to run the bulk ingest. Need to click only once.
...
To verify that the data is indexed in DocStore, go to URL
http://localhost:8080/oledocstore/ole-discovery
Click 'Refresh' button in the Summary tab.
...
Go to URL http://localhost:8080/oledocstoreand and click on "Ingest String Content" tab.
...
- local.docstore.checkout.url=http://localhost:8080/oledocstore/checkout
- local.docstore.checkin.url=http://localhost:8080/oledocstore/document
- local.discovery.url=http://localhost:8080/ole-discoveryoledocstore/bib
Open a browser.
Go to URL
...