Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Make sure you replace <<adminuser>> with correct user name of an administrative user in MacOSOCR appliance, and <<OCRKit<<ocr.appliance.name>> name>> with proper FQND or IP address:

 

Code Block
languagebash
#!/bin/bash
ssh <<adminuser>>@<<OCRKit<<adminuser>>@<<ocr.appliance.name>> "nice -n 10 /Applications/OCRKit\ Pro.app/Contents/MacOS/OCRKit\ Pro --format text --output $1 $2path/to/ocr-command <<parameters>>"

 

  • Make sure in "commands.conf" file of auto-deploy client specific repository, the following commands are added to the nuxeo container definition (under section "elif [ ${1} = "NUXEO" ] then") so as to be added the container run command.:

 

Code Block
  add_volume "/<storage_path>/nuxeo/ssh" "/home/nuxeo/.ssh"
  add_volume "/<storage_path>/nuxeo/scripts/piocr" "/usr/bin/piocr"