Update README.md

This commit is contained in:
itsscb 2023-10-06 23:35:48 +02:00 committed by GitHub
parent f9c8d8db9b
commit e961ed23fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,18 +3,16 @@
To first run the application in your local environment you can use
```
# First: (re-)build the app image including migration
make backend_build
# In the root directory
docker-compose -f ./bff/docker-compose.yaml -p df-bff up -d
# Second: run the db and the app as docker containers
# In bff directory
docker-compose -p df-bff up -d
# Using `make`
make backend
```
or run those commands, listed in ```Makefile```, ***manually*** with your terminal in the repository root directory.
**Important**: The docker commands were tested on *fedora*. On *Windows* some commands might differ or do not work at all. E. g. `make migrateup`.
That is due to the fact that on *Windows* the parameters `--privileged=true` and `--network host` do not exist or are handled differently.
# Prerequisites
To create a local development environment you need some tools.