From b4327bd7ea348f2d3a7ba5300f5cab14e9b00854 Mon Sep 17 00:00:00 2001 From: Marc Schmidt Date: Tue, 18 Jun 2024 21:42:25 +0200 Subject: [PATCH] docs: improvements --- README.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 77089da..46d1600 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,9 @@ This exaple hosts the application on port 8080 and uses the `/path/to/your/data` docker run -d \ -e IDS__SEED= \ -e AUTHENTICATION__JWT__SECRET= \ + -e WEBPUSH__SUBJECT=mailto: \ + -e WEBPUSH__PUBLICKEY= \ + -e WEBPUSH__PRIVATEKEY= \ -e ADMIN__LOGINTOKEN= \ -v /path/to/your/data:/app/data \ -p 8080:80 \ @@ -57,8 +60,8 @@ docker run -d \ 1. Create VAPID keys for the push notifications (run all command in the root directory). - Run `npx web-push generate-vapid-keys` - Run `dotnet user-secrets set WebPush:Subject mailto: -p src/server/host` - - Run `dotnet user-secrets set WebPush:PublicKey mailto: -p src/server/host` - - Run `dotnet user-secrets set WebPush:PrivateKey mailto: -p src/server/host` + - Run `dotnet user-secrets set WebPush:PublicKey -p src/server/host` + - Run `dotnet user-secrets set WebPush:PrivateKey -p src/server/host` 2. Run `pnpm install` in the root directory to install all dependencies. 3. Run `dotnet dev-certs https --trust` to trust the development certificate.