From 6c7bf0223b4a50cdf4632e7193cc063b24fdd329 Mon Sep 17 00:00:00 2001 From: mixel Date: Mon, 14 Oct 2024 23:24:04 +0200 Subject: [PATCH] Update docs/SETUP.md --- docs/SETUP.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/SETUP.md b/docs/SETUP.md index f5f3c23..583afbe 100644 --- a/docs/SETUP.md +++ b/docs/SETUP.md @@ -31,24 +31,24 @@ docker compose -f dev-compose.yml down # Applying Migrations If migrations haven't been applied yet you can apply them with the following commands: -*Note: Plase ensure the database is running* +*Note: Plase ensure the database and backend is running* -1. remove old docker image to rebuild +remove old docker image if you have updated the backend ```bash docker image remove apfelnetzwerk-backend ``` -2. check which dockers are running +1. check which dockers are running (both the database and backend should run otherwise start them as stated above) ```bash docker ps ``` -3. attach a shell to the running postgres docker container +2. attach a shell to the running postgres docker container ```bash -docker exec -it /bin/bash +docker exec -it /bin/bash ``` -4. apply migrations +3. apply migrations ```bash #(go into the crates folder) cd crates