Vipra
The Vipra application is a topic modeling based search system with a frontend web application, a backend REST service and a maintenance tool for data import and modeling. It attempts to leverage automatically discovered topic informations in document collections to ease collection browsing and organization. The search system relies on ElasticSearch and Apache Lucene.
This application was created by Eike Cochu for his master's degree thesis in computer science, 2015-2016 at the Freie Universität in Berlin, Germany.
Components
- vipra-backend: Backend application that connects to the database, filebase and search engine.
- vipra-cmd: Backend utility tool to import and manage backend services.
- vipra-ui: Frontend user interface that connects to the backend REST service.
- vipra-util: Shared libraries and classes for backend applications and utility tools.
Installation
- If MongoDB or ElasticSearch run on different servers that the JavaEE application server, then the configuration files need to be changed. Change
config.properties
file - in
vipra.war
: Openvipra.war
in an archive program, navigate to/WEB-INF/classes
and editconfig.properties
file appropriately. - in
vipra-cmd.jar
: Openvipra-cmd.jar
and editconfig.properties
file appropriately. - Test connection by running
./vipra -t
- Copy
vipra.war
to your JavaEE application server
Development
The following steps were reproduced in that order on a fully updated Ubuntu 15.10 virtual system to create a fully operational development environment for the Vipra projects. These steps are only required for project development. If you want to create a virtual machine for development, create a hard drive with at least 10 GB in size.
-
Install required libraries and tools
sudo apt-get install openjdk-8-jdk mongodb git nodejs npm maven tomcat8
if watchman will be used (see below) additional packages are required for building watchman from source
build-essential autoconf automake python-dev
-
Install required node packages for frontend development
sudo npm install -g bower gulp
-
Build and install watchman. This step is optional but recommended, as nodejs watchers are less performant. This is only required if the
gulp watch
command will be used to continuously rebuild the frontend project assets.git clone https://github.com/facebook/watchman.git cd watchman ./autogen.sh ./configure make sudo make install
-
Install eclipse. A different Java development IDE (or none at all) can be used, but the Vipra projects are made with eclipse and come with settings and run configurations. Install the M2Eclipse plugin for maven support in eclipse, if not yet installed. The plugin will download the required project dependencies and manage the project configurations, build versioning and packaging.
-
Clone the project repository and build the projects
git clone https://somerepo.url/vipra.git cd vipra ./build.sh