Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: improvements #82

Merged
merged 1 commit into from
Jun 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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=<RandomSeed> \
-e AUTHENTICATION__JWT__SECRET=<RandomSecret> \
-e WEBPUSH__SUBJECT=mailto:<YourEmail> \
-e WEBPUSH__PUBLICKEY=<VapidPublicKey> \
-e WEBPUSH__PRIVATEKEY=<VapidPrivateKey> \
-e ADMIN__LOGINTOKEN=<AdminPassword> \
-v /path/to/your/data:/app/data \
-p 8080:80 \
Expand Down Expand Up @@ -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:<YourEmail> -p src/server/host`
- Run `dotnet user-secrets set WebPush:PublicKey mailto:<PublicKey> -p src/server/host`
- Run `dotnet user-secrets set WebPush:PrivateKey mailto:<PrivateKey> -p src/server/host`
- Run `dotnet user-secrets set WebPush:PublicKey <PublicKey> -p src/server/host`
- Run `dotnet user-secrets set WebPush:PrivateKey <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.

Expand Down
Loading