Java server application for the correction of text lines.
This guide uses tomcat8 and Ubuntu (please adjust accordingly for your setup)
- Install required packages:
apt-get install tomcat8 maven openjdk-8-jdk - Setup tomcat 8 accordingly: Additional information about this step read here
- Clone Repository:
git clone https://github.com/OCR4all/ground_truth_production.git - Compile:
mvn clean install -f ground_truth_production/pom.xml - Copy or link the created war file to tomcat:
- Copy
cp ground_truth_production/target/GTC_Web.war /var/lib/tomcat8/webapps/GTC_Web.war
- Copy
- Start Tomcat:
systemctl start tomcat8- (Restart Tomcat via
systemctl restart tomcat8) - (To start Tomcat automatically at system boot
systemctl enable tomcat8)
- (Restart Tomcat via
In some cases you need to adjust the read/write permissions for your data folders.