Skip to content
Snippets Groups Projects
Commit 489edfd4 authored by Matteo Parrucci's avatar Matteo Parrucci
Browse files

added repos to readme

parent c0bcbb61
No related branches found
No related tags found
No related merge requests found
# For common users: # For common users:
Set the needed variables in .env (take librephotos.env as model) Set the needed variables in .env (take librephotos.env as model)
Just pull the repo and run Clone the repo: `git clone git@github.com:LibrePhotos/librephotos-docker.git`
docker-compose up -d docker-compose up -d
This will get the pre-built images and start all the needed processes This will get the pre-built images and start all the needed processes
# For developers: # For developers:
Set the needed variables in .evn (take librephotos.env as model) Set the needed variables in .evn (take librephotos.env as model)
Also set the codedir variable that tells docker where your source folder are Also set the codedir variable that tells docker where your source folder are
Pull frontend code into ${codedir}/frontend/ Pull frontend code with `git clone https://github.com/LibrePhotos/librephotos-frontend.git ${codedir}/frontend/`
Pull backend code into ${codedir}/backend/ Pull backend code into `git clone https://github.com/LibrePhotos/librephotos.git ${codedir}/backend/`
Pull this repo and run Pull this repo and run
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d
This will build images from scratch (can take a long time) This will build images from scratch (can take a long time)
...@@ -18,4 +18,4 @@ N.B. If you already built this image once, when you do changes you have to run ...@@ -18,4 +18,4 @@ N.B. If you already built this image once, when you do changes you have to run
docker-compose build --no-cache frontend docker-compose build --no-cache frontend
docker-compose build --no-cache backend docker-compose build --no-cache backend
based on which one you changed if these changes need rebuild as for added dependencies/libraries etc. based on which one you changed if these changes need rebuild as for added dependencies/libraries etc.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment