Skip to main content

This projects allows to synchronize remote Koha rows to an endpoint

Project description

Koha synchronizer

Este modulo permite sincronizar registros de Koha al sistema estadistico Lookproxy.

Instalacion

Para instalar el modulo koha-sync debe seguir estos pasos:

Requerimientos
  • python 3.7+
  • El servidor desde el cual ejecuta el modulo, debe tener conexion con el servidor Koha
  • La instalacion la puede realizar en un host dedicado o en un host compartido
    • host dedicado: significa que el modulo se ejecuta en un servidor exclusivamente para este proceso. El servidor puede ser de 512 MB o 1 GB de RAM.
    • host compartido: significa que el modulo de ejecuta en el mismo servidor del Koha.
Crear directorio raiz
> mkdir /opt/koha-sync
Instalar y crear sesion de tmux
> apt-get install tmux
> tmux new -s koha-sync

para salirse de la sesion, debe presionar ctrl + b + d

Instalar Python3.7

Al finalizar la instalacion, verifique que corresponda a la 3.7

> alias python='python3.7'
> python -V
  |_______3.7
Instalar pip3

Al finalizar la instalacion, verifique que corresponda a la 20+

> pip3 -V
  |______pip 20.1 from /usr/local/lib/python3.5/dist-packages/pip (python 3.7)
Instalar setuptools
> python3.7 -m pip install setuptools
Instalar y activar virtaulenv (solo si la instalacion es compartida)
> python3.7 -m pip install virtualenv
> cd /opt/koha-sync & virtualenv venv
> source /opt/koha-sync/venv/bin/activate
Instalar el modulo koha-sync
> python -m pip install koha-sync
Cargar al servidor el config.yml enviado por Referencistas
ls
|__ config.yml

Ejecutar el comando

koha_syncrhonizer --help

    Options:
     -V, --version           print current cli version and stops execution
     -c, --config-file TEXT  path to configuration file  [required]
     -v, --verbose           activate verbosity output
     -r, --run-once          synchronize once and stops execution
     -t, --test              run validations and stops before synchronize
     --help                  Show this message and exit.

Copyright © Referencistas

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

koha-sync-1.2.1.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

koha_sync-1.2.1-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file koha-sync-1.2.1.tar.gz.

File metadata

  • Download URL: koha-sync-1.2.1.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.4

File hashes

Hashes for koha-sync-1.2.1.tar.gz
Algorithm Hash digest
SHA256 c6c4a71794095ef6b5a29b0f9d73027c10693e42d5b01fc520d728f601e253de
MD5 3b56603d2ef5d39a6ca843f6313a699a
BLAKE2b-256 0b28f6c72c95107c0d4378d7e643a5bf773e185b111d66d5309f44cbb34cb93b

See more details on using hashes here.

File details

Details for the file koha_sync-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: koha_sync-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.7.4

File hashes

Hashes for koha_sync-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b84e81a127e1cb8959bdbbed69ce233930472a9a4c7c8226b3ff85b8ba2dbe7c
MD5 6add53fc2bd3d306d7d10063e4a65359
BLAKE2b-256 a63e5f133dc5ae349b0eea6a9b3409195062f3a17dec2526ed216972d9b454d1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page