-
-
Notifications
You must be signed in to change notification settings - Fork 18
Adding a new lexicon (2025)
César Del Solar edited this page Jan 22, 2025
·
2 revisions
- Check the PR for adding CSW24: https://github.com/woogles-io/liwords/pull/1381/files
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.