Development tips
Tomcat application deployment
Section titled “Tomcat application deployment”For faster development, we recommend not deploying openkm_.war_ directly; instead, create in $TOMCAT_HOME/webapps a folder alias of target/openkm:

Sample deployment script
Section titled “Sample deployment script”You can use a deployment script:
#!/bin/bash
#Cleans and re-compiles the source filesmvn -Dmaven.test.skip=true clean install $*
#Set the TARGET_DIRECTORY to the path of your tomcat installationTARGET_DIRECTORY=~/Downloads/tomcat-10.1.25/FILE_TO_MOVE=target/openkm.war#This will only attempt to replace the existing WAR if the new WAR existsif [ -f $FILE_TO_MOVE ]then echo 'Deploying WAR to Tomcat Directory' cp -v $FILE_TO_MOVE $TARGET_DIRECTORY/webapps/. echo 'Done'fi