Skip to content

Receives, decrypts, and verifies data, then indexes with DocManager

License

Notifications You must be signed in to change notification settings

TransparencyToolkit/IndexServer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

This is a server that receives data sent from the OCR server program. It decrypts this data, verifies that it has all been received, saves any files, and sends the JSON data to DocManager for indexing.

Setup Instructions-

  1. Clone this repository on the same machine as DocManager and LookingGlass are running on.

  2. Ensure curl is installed and that the listen and curb gems are installed.

  3. At the end of index.rb, set the following environment variables:

    • DOCMANAGER_URL: The port/IP DocManager is running on
    • OCR_OUT_PATH: The directory where the OCR server saves its data
  4. Run: ruby index.rb

It will then automatically index files when they appear at OCR_OUT_PATH/ocred_docs

About

Receives, decrypts, and verifies data, then indexes with DocManager

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages