Code Monkey home page Code Monkey logo

bibliomap-harvester's Introduction

bibliomap-harvester

Monitors and harvests ezproxy log files for bibliomap visualization.

Architecture

Prerequisites

  • Docker and docker-compose

Installation and running

As a standalone script, bibliomap-harvester is not very usefull. Please have a look to bibliomap docker-compose.yml to understand how it can be orchestrated with required modules: bibliomap-enricher and bibliomap-viewer

Configuration

Env variable can be used to customize it:

  • BBH_ENRICHER_HOST
  • BBH_ENRICHER_PORT
  • BBH_STREAMNAMES
  • BBH_STREAMPATHS

Look at config.json to see the default values.

To connect external log files, you have to mount docker volumes this way.

  • Supposing you have 2 ezproxy log file here on the hosting server:
    • /bibcnrs/inp/ezproxy/ezproxy.log
    • /bibcnrs/insb/ezproxy/ezproxy.log
  • Then you have to add these volumes when running bibliomap-harvester container:
    • -v /bibcnrs/inp/ezproxy/ezproxy.log:/app/tmp/inc.log
    • -v /bibcnrs/insb/ezproxy/ezproxy.log:/app/tmp/insb.log
  • Then when running bibliomap-harvester container, you have to setup theses variables:
    • BBH_STREAMNAMES="INC INSB"
    • BBH_STREAMPATHS="/app/tmp/inc.log /app/tmp/insb.log"

Developement

git clone [email protected]:ezpaarse-project/bibliomap-harvester.git
cd bibliomap-harvester
DEBUG=bibliomap* make run-debug

bibliomap-harvester's People

Contributors

kerphi avatar nojhamster avatar sfmax54 avatar aloukili avatar wilmouths avatar

Watchers

 avatar James Cloos avatar eurruby avatar Dominique avatar Thomas Porquet avatar  avatar Ménette avatar  avatar Cécilia Fabry avatar  avatar  avatar  avatar  avatar  avatar Patrick Kremer avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.