- Backend: The backend is implemented as a Tomcat web container. The frontend needs to be build first.
- Common: Contains common modules
- Frontend: The frontend is a webpack web project
- Preprocessing: The preprocessing module
We use a central properties configuration file. The file's location is:
Backend/src/main/resources/config.properties
We use the Maven and NPM build systems. To build the system for the first time:
- Build the frontend:
npm run build
- Build the Common module:
mvn install
- Build the Backend and Preprocessing modules:
mvn package
From the Preprocessing folder run:
java -jar target/preprocessing-$VERSION.jar ../Backend/src/main/resources/config.properties
Put the Lucene index to some location accessible by Tomcat (set the permissions appropriately) and deploy the web archive (usually the path to the index needs to be adapted)