Weekly Contest Bot for Norwegian and Finnish Wikipedia
Switch branches/tags
Nothing to show
Clone or download

README.md

UKBot

Python bot for updating results in Ukens konkurranse and similar contests at Wikipedia.

Setup

Make a virtualenv with Python 3, and install dependencies:

virtualenv ENV --no-site-packages -p /Users/danmichael/.pyenv/shims/python3
. ENV/bin/activate

pip install -r requirements.txt

To generate locales:

make all

And setup crontab:

crontab ukbot.crontab

Forenklet flytkart: Flowchart

Webinterface

At Tool Forge:

webservice --backend=gridengine generic start /data/project/ukbot/server.sh

To test the webinterface locally:

export FLASK_DEBUG=1
export FLASK_APP=ukbot/server.py
flask run