Skip to content
belarara edited this page Jul 1, 2019 · 16 revisions

Docker

docker-compose up

Bot Password

  • Open and login to Wikibase in browser (address, username and password are specified in docker-compose.yml)
  • Go to Special Pages -> Bot passwords {address}/wiki/Special:BotPasswords
  • Create a bot named bot, check all permissions and click create
  • Copy the created Password (it should look like this: bot@7f7fqvfd5v5mn0nb7v214pu8vtj2vif8)

Executing the script

git clone [email protected]:code-openness/data-mapping.git
  • Open data-mapping/import.sh in editor
  • Paste your bot password
export BOT_PASSWORD=bot@7f7fqvfd5v5mn0nb7v214pu8vtj2vif8
  • Adjust MEDIA_WIKI_SERVER with the host address from your docker-compose.yml file
export MEDIA_WIKI_SERVER=http://localhost:8181
  • Adjust SPARQL_ENDPOINT with the host address from your docker-compose.yml file
export MEDIA_WIKI_SERVER=http://localhost:8181
  • Save import.sh file
  • execute import.sh
./import.sh