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.