Commit 4aa763fc authored by Michael Menzel's avatar Michael Menzel

Maven build instr.

parent 621b1920
......@@ -22,10 +22,31 @@ experimental conditions and scientific questions.
Enhort is publicly available online at www.enhort.mni.thm.de and published under GNU General Public License.
# Build
# Use pre-build
A seperate SETUPINSTR.md file is available containing instructions to run Enhort on your own infrastructure.
# Build
A JDK with Java 8 or higher is needed, as well as Maven.
Build steps:
- Download the sources from https://git.thm.de/mmnz21/Enhort
- cd into the enhortlib folder
- run 'mvn package' to build the library
- run the following to add the library to the local .m2 folder and repository:
mvn install:install-file -Dfile=Enhortlib-1.01.jar -DpomFile=pom.xml
- cd back and into the /backend
- run 'mvn package -Dmaven.test.skip=true'
- Tests are skipped because several test-files are needed to run them
- cd back and into the /frontend directory
- run 'mvn package'
- go up one directory
- rename both jars with:
mv backend/target/Enhort-1.01-jar-with-dependencies.jar enhort.jar
mv frontend/target/Enhort-1.01-jar frontend.jar
- continue with the set up as described in the SETUPINSTR.md file
# VM
......
......@@ -36,6 +36,7 @@ The server is run with the following command:
- The -Xmx32g flag raises the available memory to 32 GB, please specify your available memory here.
- The StringTableSize improves start up speed for loading the data
- Currently the port is fixed to 42412
- The server takes about 2 minutes to start, when the message "Still loading track files. Stopping now" the server is up and running
# Frontend setup
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment