From 41656079155c1e5881b483705c95a5ca31f826e0 Mon Sep 17 00:00:00 2001 From: Matteo Parrucci <parruc@gmail.com> Date: Mon, 15 Feb 2021 10:01:33 +0100 Subject: [PATCH] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 037e078..c2b4597 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ This will get the pre-built images and start all the needed processes Set the needed variables in .evn (take librephotos.env as model) Also set the codedir variable that tells docker where your source folder are Pull frontend code with `git clone https://github.com/LibrePhotos/librephotos-frontend.git ${codedir}/frontend/` + Pull backend code into `git clone https://github.com/LibrePhotos/librephotos.git ${codedir}/backend/` Pull this repo and run docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d @@ -16,6 +17,7 @@ Now you can develop and benefit from code auto reload from both backend and fron N.B. If you already built this image once, when you do changes you have to run `docker-compose -f docker-compose.yml -f docker-compose.dev.yml build --no-cache frontend` + `docker-compose -f docker-compose.yml -f docker-compose.dev.yml build --no-cache backend` based on which one you changed if these changes need rebuild as for added dependencies/libraries etc. -- GitLab