Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Adding a new lexicon (2025)

César Del Solar edited this page Jan 22, 2025 · 2 revisions

Copy all lexicon files to woogles-wg and into the EFS data volume. This volume has been mounted into the /mnt/efs directory in the woogles-wg machine.

Mounting for reboot:

echo "<efs dns name>:/ /mnt/efs nfs4 defaults,_netdev 0 0" | sudo tee -a /etc/fstab
  • Restart the macondo bot + wolges_awsm. The latter needs to be restarted to play WordSmog properly
  • Run this query on the prod database:
BEGIN;

UPDATE tournaments
SET extra_meta = jsonb_set(
    extra_meta,
    '{defaultClubSettings, lexicon}',
    '"CSW24"',
    false
)
WHERE type = 'club'
  AND extra_meta->'defaultClubSettings'->>'lexicon' = 'CSW21';

COMMIT;

replacing the lexicon strings appropriately, if there are any clubs using the old lexicon.

Clone this wiki locally