Allows players to solve multilingual crosswords that are randomly generated with WordNet.
- The dictionary data used to generate the crosswords are from the Open Multilingual Wordnet.
- The original Python Crossword Puzzle Generator was created by Bryan Helmig and released under the BSD 2-Clause License.
- The original JavaScript Crossword Engine was created by Pavel Simakov and released under LGPL.
Please check the repo's About
section for the link.
docker image build -t xwords .
docker run -p 8005:8005 xwords
bash ./download.sh
OR
- Download wn-multi.db and wnall.db, then copy them over to replace the empty placeholder files with the same name in
staticb/db
- Download wn-ocal.zip, then place it in the
staticb
folder
pip install -r ./requirements.txt
python flaskapp.py
Upload big files in staticb
to OpenShift Online v3
- create an ebs persistent volume with RWO access mode under storage
- link to it with
Add Storage
under your deployment configuration and mount it to/data
- set your
OPENSHIFT_DATA_DIR
environment variable as/data/staticb
)
- login to the openshift cli
- cd to your local repo folder
oc rsync staticb <deployment pod name>:/data
Image files are kept zipped by default, with OCAL_IS_ZIPPED set to True in flaskapp.cfg
. You can set it to False and unzip wn-ocal.zip in place (wn-ocal
folder as subfolder of staticb
)