Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Description

Allows players to solve multilingual crosswords that are randomly generated with WordNet.

Credits

Link

Try it out here Unfortunately, can't find any more persistent free hosting with enough storage for the databases, so this can only run locally

Instructions

With Docker

docker image build -t xwords .
docker run -p 5000:5000 xwords

Without Docker

Download large files

bash ./download.sh

OR

  1. Download wn-multi.db and wnall.db, then copy them over to replace the empty placeholder files with the same name in staticb/db
  2. Download wn-ocal.zip, then place it in the staticb folder

To run locally

pip install -r ./requirements.txt
python flaskapp.py

To deploy to OpenShift

Upload big files in staticb to OpenShift Online v3

web console
  • 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)
command prompt / terminal
  • login to the openshift cli
  • cd to your local repo folder
  • oc rsync staticb <deployment pod name>:/data

Option

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)

About

(Python) Solve randomly generated multilingual crosswords

Resources

License

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.