Skip to content

Latest commit

 

History

History
65 lines (40 loc) · 1.59 KB

README.md

File metadata and controls

65 lines (40 loc) · 1.59 KB

Wikibase Metadata | Suite Scraper

A project for tracking key metrics on wikibase instances

We aim to use this to guide future product development and engineering focus, as well as get a sense of the scale of our community of users.

For more details, please see:

Deployment Commands

We currently deploy on Toolforge. Please refer to the Wikitech Help:Toolforge documentation.

Login

To log into Toolforge and switch to the tool account:

$ ssh -i /path/to/id_rsa [email protected]
$ become wikibase-metadata

Build

To build the tool:

$ toolforge build start https://github.com/wmde/wikibase-metadata.git

You can access a list of builds with toolforge build list; please delete old builds using toolforge build delete build-id

Environment Variables

Make sure you have environment variables correct: toolforge envvars list should include SETTINGS_FILE pointing to the correct settings.ini file. To create or update an environment variable, use

$ toolforge envvars create SETTINGS_FILE prod-settings.ini

Start, Stop, Restart

After building, start the webservice with:

$ webservice buildservice start --mount=all

stop and restart commands are also available.

Logs & Shell

For the tail end of the webservice logs, run:

$ webservice logs

To access the active container, run:

$ webservice shell