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