source: gs3-extensions/atea-nlp-tools/trunk/src/ocr/README.md@ 35733

Last change on this file since 35733 was 35733, checked in by cstephen, 2 years ago

Add OCR servlet

File size: 631 bytes
Line 
1# Installation
2
3Find the path to your tesseract binaries directory, then run
4
5```
6./setup.sh
7```
8
9# Now edit:
10
11 src/main/webapp/webContent/unauthorizsed.html
12
13so the button displays the name Atea, and points to the https://atea.space website
14
15
16# Compile up and install the war file
17
18 ant install
19
20
21# Now update apache2 config with ProxyPass rules
22
23 sudo emacs /etc/apache2/sites-enabled/000-default-le-ssl.conf
24
25 ProxyPass /gs3-atea-ocr http://localhost:8383/gs3-atea-ocr
26 ProxyPassReverse /gs3-atea-ocr http://localhost:8383/gs3-atea-ocr
27
28#Same for the http version:
29
30 sudo emacs /etc/apache2/sites-enabled/000-default.conf
Note: See TracBrowser for help on using the repository browser.