Add info for connecting the db in README

This commit is contained in:
nobohan 2021-08-24 09:52:59 +02:00
parent 207bc2bf34
commit b484ef7904
1 changed files with 11 additions and 0 deletions

View File

@ -103,6 +103,17 @@ Redirige de 8080 vers autres services :
## Development
### Inspect db
There is a pgweb container that allows to inspect the db, at <http://localhost:8081/>. Use the following credentials to connect:
* host: db
* un: postgres
* pw: postgres
* dbname: referentielsdb
* port: 5432
* SSL mode: disable
### Front-end development
In order to interactively edit the js code, the frontend folder is mounted into the frontend container. To interactively develop the frontend code and watch the results, enter the running frontend container and launch `ng serve` with the following arguments (see <http://imaginativethinking.ca/heck-get-connection-reset-peer-containerizing-angular-4-application/> for why the host argument is required):