Skip to content
This repository has been archived by the owner on Aug 9, 2024. It is now read-only.

Source for tools.wmflabs.org/ores-support-checklist

License

Notifications You must be signed in to change notification settings

wikimedia/ores-support-checklist

Repository files navigation

Build Status ORES support checklist

This git repository contains the source code for a basic Python webservice built to show ORES support for different wikis

Running from Tool Labs

$ ssh tools-dev.wmflabs.org
$ become $TOOL_NAME
$ mkdir -p $HOME/www/python
$ git clone https://github.com/wikimedia/ores-support-checklist \
  $HOME/www/python/src
$ touch $HOME/www/python/src/config.yaml
$ chmod u=rw,go= $HOME/www/python/src/config.yaml
$ webservice --backend=kubernetes python shell
$ python3 -m venv $HOME/www/python/venv
$ source $HOME/www/python/venv/bin/activate
$ pip install --upgrade pip
$ pip install -r $HOME/www/python/src/requirements.txt
$ exit
$ webservice --backend=kubernetes python start

Running locally

$ pip install flask-cli
$ FLASK_APP=app.py flask run

License

GNU GPLv3+