Commit 9c6af05d authored by Christophe Benz's avatar Christophe Benz

Update config and instructions

parent e4c0c010
\ No newline at end of file
......@@ -7,13 +7,18 @@ _Wikibase bots for the "Données financières historiques (DFIH)" project_
git clone
cd dfih-wikibase/
npm install
cp .env.template .env
Edit `src/config.js` to change database informations. Then
Customize `.env` variables (see next sections for details).
npm install
## Register script as a MediaWiki bot
- go to the `Special:BotPasswords` special page of your Wikibase instance
- give the name `{username}@dfih-importer` to the bot for example (update `MEDIAWIKI_BOT_USERNAME` accordingly)
- check "Edit existing pages" and "Create, edit, and move pages" grants
- copy the generated password to `MEDIAWIKI_BOT_PASSWORD`
## Update Wikibase with DFIH issuers
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment