Skip to content

Commit

Permalink
Fix ReadMe links
Browse files Browse the repository at this point in the history
  • Loading branch information
b-straub committed Jul 19, 2024
1 parent 9e0915b commit f331a4b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions DexieNETCloudPushServer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ WebPush messages in a DexieCloudNET based solution.

The PushServer will use the [Dexie Cloud REST API](https://dexie.org/cloud/docs/rest-api) to communicate with any database in a solution agnostic way.
The best way to set up your own PushServer is with Docker.
Create a Docker image using the [buildPushServer.sh](https://github.com/b-straub/DexieNET/blob/0f5ba97c205babb36bd49a882f8cd1b9d20249bf/buildPushServer.sh) script.
Create a Docker image using the [buildPushServer.sh](../buildPushServer.sh) script.
Make sure *--platform* matches your desired architecture.

Setting up the app's secrets is a two-step process:
Expand Down Expand Up @@ -41,8 +41,8 @@ public static async Task ConfigureCloud(this DBBase dexie, DexieCloudOptions clo
string? applicationServerKey = null)
```

See the [DexieNETCloudSample](https://github.com/b-straub/DexieNET/tree/0f5ba97c205babb36bd49a882f8cd1b9d20249bf/DexieNETCloudSample) for more information.
See the [DexieNETCloudSample](../DexieNETCloudSample) for more information.

To enable push support, do the following:
* add the [DBAddPushSupport](https://github.com/b-straub/DexieNET/blob/0f5ba97c205babb36bd49a882f8cd1b9d20249bf/DexieNETCloudSample/Dexie/Services/DexieCloudService.cs#L15) attribute to your *IDBStore
* Store push information in your database like this [AddPushNotification](https://github.com/b-straub/DexieNET/blob/0f5ba97c205babb36bd49a882f8cd1b9d20249bf/DexieNETCloudSample/Dexie/Services/ToDoItemService.cs#L187)
* add the [DBAddPushSupport](https://github.com/b-straub/DexieNET/blob/9e0915b38995bce0660229c2b77cc86bc7b6a058/DexieNETCloudSample/Dexie/Services/DexieCloudService.cs#L15) attribute to your *IDBStore
* Store push information in your database like this [AddPushNotification](https://github.com/b-straub/DexieNET/blob/9e0915b38995bce0660229c2b77cc86bc7b6a058/DexieNETCloudSample/Dexie/Services/ToDoItemService.cs#L187)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ DexieCloudNET is a .NET wrapper for dexie.js minimalist wrapper for IndexedDB se

## News

- Added Push support. Please check the [ReadMe](https://github.com/b-straub/DexieNET/blob/6656f4712e5ddc4f1891da039c2e8d8c2a47afbd/DexieNETCloudPushServer/README.md)
- Added Push support. Please check the [ReadMe](DexieNETCloudPushServer/README.md)
- Preview released for [DexieCloud](https://dexie.org/cloud/)
- Please register with **DexieCloud** and test the [ToDoSample](DexieNETCloudSample). The configuration script can be found here [configure-app.ps1](DexieNETCloudSample/Dexie/configure-app.ps1) (Windows) or here [configure-app.sh](DexieNETCloudSample/Dexie/configure-app.sh) (Nix - jq required).

Expand Down

0 comments on commit f331a4b

Please sign in to comment.