https://github.com/scieloorg/delorean2isis
Script to get metadata from Delorean and generate Isis databases.
https://github.com/scieloorg/delorean2isis
publishing-workflow
Last synced: 5 months ago
JSON representation
Script to get metadata from Delorean and generate Isis databases.
- Host: GitHub
- URL: https://github.com/scieloorg/delorean2isis
- Owner: scieloorg
- Created: 2012-09-03T17:14:26.000Z (almost 14 years ago)
- Default Branch: master
- Last Pushed: 2024-05-23T07:13:33.000Z (about 2 years ago)
- Last Synced: 2024-05-23T08:30:10.506Z (about 2 years ago)
- Topics: publishing-workflow
- Language: Python
- Size: 59.6 KB
- Stars: 1
- Watchers: 11
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
Awesome Lists containing this project
README
=============
delorean2isis
=============
Script to import journals metadata from Journal Manager to ISIS databases.
Requirements
============
#. Python2.7 (http://python.org)
#. pip (http://www.pip-installer.org/en/latest/installing.html)
#. CISIS 10/30 (http://wiki.bireme.org/pt/index.php/CISIS)
How to Install
==============
#. Run pip install -r requirements.txt
#. Create de virtual environment variables.
Environment variables
---------------------
API_URL # URL to the SciELO Manager API.
API_USER # You API user name in SciELO Manager.
API_KEY # Your API key in SciELO Manager.
DELOREAN_URL # domain to Delorean.
COLLECTION_SLUG # Collection Slug in SciELO Manager.
SERIAL_SOURCE_DIR # full path to the serial folder where the databases will be copied to.
Running
-------
delorean2isis -c $COLLECTION_SLUG -o $SERIAL_SOURCE_DIR
How To Install with Docker
==========================
docker build -t scieloorg/delorean2isis
Environment variables
---------------------
API_URL # URL to the SciELO Manager API.
API_USER # You API user name in SciELO Manager.
API_KEY # Your API key in SciELO Manager.
DELOREAN_URL # domain to Delorean.
COLLECTION_SLUG # Collection Slug in SciELO Manager.
SERIAL_SOURCE_DIR # full path to the serial folder where the databases will be copied to.
Running with Docker
-------------------
docker run -it --rm --name delorean2isis -e DELOREAN_URL=http://200.136.72.82:6543/generate/ -e API_USER= -e API_KEY= -e ISIS_PATH=/app/cisis/ -e COLLECTION_SLUG=espanha -e SERIAL_SOURCE_DIR=/app/serial -v ~/Trabalho/delorean2isis/serial/:/app/serial/ -v ~/Trabalho/web/proc/cisis/:/app/cisis/ delorean2isis delorean2isis -c espanha -o /app/serial