Photo evaluation tool for and by Wiki Loves competitions
Round-based photo evaluation is a crucial step in the "Wiki Loves" series of photography competitions. Montage provides a configurable workflow that adapts to the conventions of all groups.
pip install tox
into your virtualenv, then tox
.
Ensure you have the necessary libraries by running pip install -r requirements-dev.txt
in a virtualenv of your choosing.
tox
)fab deploy
. Ensure the script
runs successfully.
fab deploy:tool=montage
Some tips (at the time of writing):
fab deploy
without arguments will deploy master
to montage-dev
.
fab deploy:branch=other-branch,tool=montage-beta
fab deploy
, it's likely
this bug. These seem to
fix themselves, come back later if you can, otherwise check out the
thread for details on using GOMAXPROCS
.2024-04-23
This mostly works: https://wikitech.wikimedia.org/wiki/Help:Toolforge/Web/Python#Creating_a_virtual_environment
But before that you should install mysqlclient explicitly:
export MYSQLCLIENT_CFLAGS="-I/usr/include/mariadb/"
export MYSQLCLIENT_LDFLAGS="-L/usr/lib/x86_64-linux-gnu/ -lmariadb"
pip install mysqlclient
From https://wikitech.wikimedia.org/wiki/Help:Toolforge/Database#Python:_Django
With the move to mariadb, the easiest way to access Montage's own data (not the replicas) is:
# on toolforge, become montage
$ sql tools
> use s53490__montage;s