MaRDI4NFDI / portal-compose

docker-composer repo for mardi
https://portal.mardi4nfdi.de
GNU General Public License v3.0
3 stars 1 forks source link

Activate importer API #394

Closed eloiferrer closed 1 year ago

eloiferrer commented 1 year ago

MaRDI Pull Request

Changes:

Instructions for PR review:

Checklist for this PR:

physikerwelt commented 1 year ago

Maybe you can explain (optimally in the commit message as the pull requests discussions vanish if we moved away from github one day) how the database setup is done. I also asked myself if creating a dedicated database container is better. Do you have any thoughts on that.

eloiferrer commented 1 year ago

I had in mind creating the documentation directly in a mediawiki site once everything is setup correctly and working as expected.

The API reads also directly from the wikibase SQL tables (to avoid going through SPARQL), so it needs access to the my_wiki database. In addition, it uses an additional table for the mapping mardi<>wikidata. Only this table could have been setup in an additional container, but since we need to connect to my_wiki anyways it was created also inside my_wiki.