alpheios-project / alpheios-translation-service

Web Service that provides translations for lemmas
Mozilla Public License 2.0
0 stars 0 forks source link

Alpheios Translation Service

Build Status Coverage Status

Web Service that provides translations for lemmas

Development

Installation

Create virtual env for python 3 and run following commands

python scripts.py db-create
python scripts.py data-download
python scripts.py data-ingest

Run

# Run a quick demo
python run.py

Structure

Client

A Swagger 2.0 configuration can be found at swagger.spec.yaml

Running on production

  1. To run on production, the same installation bases are valid : create a virtual env, install dependencies from requirements.txt.
  2. You should also produce a Production Specific config object such as the ones available at atservices.config
  3. Finally, create a python file such as run.py that will be running the app through atservices.create_app with your environment specific configuration

Current numbers

Collatinus Translations