From a8ea08dd276266b1d7161e16db1d50e8c7231fec Mon Sep 17 00:00:00 2001
From: David Beniamine <david.beniamine@tetras-libre.fr>
Date: Thu, 14 Jan 2021 10:43:30 +0100
Subject: [PATCH] More doc

---
 Readme.md | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)

diff --git a/Readme.md b/Readme.md
index f836cb0..d21e0bd 100644
--- a/Readme.md
+++ b/Readme.md
@@ -26,6 +26,22 @@ The docker build process consists in three steps
 2. Create a build image that retrieve the unl2rdf parser sources and builds it
 3. Create an image to run the flask application
 
+## Update
+
+### Web sevice
+
+```
+git pull
+# rebuild should not be required most of the time
+docker-compose build
+docker-compose down
+docker-compose up
+```
+
+### UnlTool
+
+To update the unltool jar, first upde `GIT_REF` in the `.env` file, then run the previous update step with a rebuild (not optionnal)
+
 ### Triggering a rebuild
 
 Docker caches every step of the build, if the java parser has changed, `docker-compose build` will not detect it, so you have to change `GIT_REF=` in the `.env` file to point to the desired commit, branch or tag. Then you can run `docker-compose build` and only the required steps to rebuild the java parser will run again.
-- 
GitLab