|
@@ -247,7 +247,7 @@ Reference: <https://stackoverflow.com/questions/34160509/options-for-testing-ser
|
|
|
|
|
|
|
|
#### With the dev servers
|
|
#### With the dev servers
|
|
|
|
|
|
|
|
-1. Get web push keys `go run main.go web-push generate-keys`
|
|
|
|
|
|
|
+1. Get web push keys `go run main.go webpush keys`
|
|
|
|
|
|
|
|
2. Run the server with web push enabled
|
|
2. Run the server with web push enabled
|
|
|
|
|
|
|
@@ -255,9 +255,9 @@ Reference: <https://stackoverflow.com/questions/34160509/options-for-testing-ser
|
|
|
go run main.go \
|
|
go run main.go \
|
|
|
--log-level debug \
|
|
--log-level debug \
|
|
|
serve \
|
|
serve \
|
|
|
- --web-push-enabled \
|
|
|
|
|
--web-push-public-key KEY \
|
|
--web-push-public-key KEY \
|
|
|
--web-push-private-key KEY \
|
|
--web-push-private-key KEY \
|
|
|
|
|
+ --web-push-email-address <email> \
|
|
|
--web-push-file=/tmp/webpush.db
|
|
--web-push-file=/tmp/webpush.db
|
|
|
```
|
|
```
|
|
|
|
|
|