Updated: April 16, 2021.
itwêwina is deployed on ALTLab's "Whorf Cluster"; specifically, a host
called itw.altlab.dev
. Its web address is:
All paths are on itw.altlab.dev
, unless otherwise specified:
/opt/docker-compose/itwewina
/opt/docker-compose/itwewina/cree-intelligent-dictionary
Please refer to the volumes
key in the docker-compose.yml
file
The GitHub container registry.
These are the files I am most-often modifying when mucking about with the deployment:
docker/docker-compose.yml
docker/Dockerfile
docker/deploy
CreeDictionary/uwsgi.ini
Every time a commit is pushed to the default branch on GitHub, the redeployment workflow begins on GitHub actions:
- the unit tests and integration tests run
- a Docker image is built
- the Docker image is built and pushed to the GitHub container registry
When the tests pass, https://deploy.altlab.dev/, which then instructs
the Whorf cluster to pull the latest changes both from the git
repository and from the uploaded Docker image. The new Docker image
is run on itw.altlab.dev
.
Migrations are run, and (in most cases), the new code is deployed!