From 2da0f3749c1917858c37c748d0ed6dc06436cb8b Mon Sep 17 00:00:00 2001 From: juhanaasaru Date: Fri, 16 Jun 2023 14:26:43 +0300 Subject: [PATCH] improve README.md for 0.9.1 --- README.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7b475f0..b051d0b 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,17 @@ So anyone who keeps their data in a relation database could adapt a similar patt ![Sequence diagram](doc/sequence-diagram-pr.png) -## Running +## Running the built docker image + +Every time this repository is tag-ed with a new version, +GitHub Actions builds a public Docker image and uploads it to GitHub Container Registry (ghcr.io) +See [the details of recent actions](https://github.com/e-gov/PH-sample-provider-python/actions) and [the list of tags](https://github.com/e-gov/PH-sample-provider-python/tags). + +For example, one can get the version 0.9.0 like this: +`docker pull ghcr.io/e-gov/ph-sample-provider-python:v0.9.0` +`docker pull --platform linux/x86_64 ghcr.io/e-gov/ph-sample-provider-python:v0.9.0` (Mac) + +## Running locally Use Docker-compose to start up a Postgres database and the application. The scripts create a few tables to sore information about mandates and views and functions to interact