Skip to content

oeg-upm/inesdata-espacio-linguistico-elg-web-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ELG Connector Web Service

ELG authentication token creation

This component needs an ELG authentication token, we can create it with the elg python client:

python3.11 -m venv .venv
source .venv/bin/activate
pip install elg

Then we run the following code:

from elg import Authentication

auth = Authentication.init(scope="offline_access")
auth.to_json("tokens.json")

This will create the authentification token that will be used by the ELG Connector Web Service.

Docker image creation

We can now build the Docker image with:

docker build -t elg_connector_ws .