This repository contains the code for the Crossword Creator web app: https://crosswordcreator.fly.dev/
The application is shipped in a Docker container with Python 3.11 and is not tested with earlier versions. Although, it is fairly simple and should work with earlier versions of Python 3! The Python dependencies are managed with Poetry.
If you do not have Poetry already, install it with:
# Installs Poetry
curl -sSL https://install.python-poetry.org | python3 -
pip install poetryThe Docker build process for this setup requires the virtual environment to be in the project directory. This can be configured with:
# Ensures Poetry creates the virtual environment in the project directory
poetry config virtualenvs.in-project trueFinally, install the dependencies with:
# Installs dependencies to the virtual environment
poetry installThe application is deployed to Fly.io. It requires a personal account setup and the Fly CLI installed.
fly deployBuild the Docker image with:
docker build . -t crossword-creatorRun the Docker container with:
docker run --rm -v $(pwd)/app:/app crossword-creatorNote: The -v flag mounts the app directory to the container. Thus, you do not need a docker build before running with changes.