From f331a4bc5c2ce64c2bbf66414e69a22863cd0d6c Mon Sep 17 00:00:00 2001 From: Bernhard Straub Date: Fri, 19 Jul 2024 14:29:34 +0200 Subject: [PATCH] Fix ReadMe links --- DexieNETCloudPushServer/README.md | 8 ++++---- README.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/DexieNETCloudPushServer/README.md b/DexieNETCloudPushServer/README.md index bd120b7..c75dcc9 100644 --- a/DexieNETCloudPushServer/README.md +++ b/DexieNETCloudPushServer/README.md @@ -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: @@ -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) \ No newline at end of file +* 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) \ No newline at end of file diff --git a/README.md b/README.md index a57afd8..f70dd59 100644 --- a/README.md +++ b/README.md @@ -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).