Weekly Contest Bot for Norwegian and Finnish Wikipedia
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
jobs
locale
storage
ukbot
.bigbrotherrc
.description
.gitignore
.travis.yml
MANIFEST.in
MIT-LICENSE.txt
Makefile
README.md
flowchart.png
mem_logger.sh
mem_plotter.gnuplot
server.sh
service.manifest
setup.py
ukbot.crontab

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