From 4e88fed139d2da25dea909c94426ff99a8fff202 Mon Sep 17 00:00:00 2001 From: Matteo Parrucci <parruc@gmail.com> Date: Sun, 14 Feb 2021 02:17:14 +0100 Subject: [PATCH] readme --- README | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 README diff --git a/README b/README new file mode 100644 index 0000000..08d5fa7 --- /dev/null +++ b/README @@ -0,0 +1,15 @@ +# For common users: +Set the needed variables in .env (take librephotos.env as model) +Just pull the repo and run +docker-compose up -d +This will get the pre-built images and start all the needed processes + +# For developers: +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 into ${codedir}/frontend/ +Pull backend code into ${codedir}/backend/ +Pull this repo and run +docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d +This will build images from scratch (can take a long time) +Now you can develop and benefit from code auto reload from both backend and frontend \ No newline at end of file -- GitLab