First rename the .env.dist
file to .env
and add your github/gitlab token. Then you can run:
docker-compose up # add -d for detached
or
docker build -t gimieapi .
docker run --env-file .env -p 7005:15400 gimieapi
This will serve a instance running by default in port 7123.
Entry point to the API
http://0.0.0.0:7123/
In case we want to obtain the gimie output in json, just add the repo link to /gimie/jsonld/GITHUB_REPO
http://0.0.0.0:7123/gimie/jsonld/https://github.com/SDSC-ORD/gimie
To calculate the graph and provide a serialized output in ttl do /gimie/project/GITHUB_REPO
http://0.0.0.0:7123/gimie/ttl/https://github.com/SDSC-ORD/gimie
http://localhost:8000/docs