aboutsummaryrefslogtreecommitdiffhomepage
path: root/dummy-data/README.md
diff options
context:
space:
mode:
authorBastien Wirtz <bastien.wirtz@gmail.com>2022-11-27 18:41:12 +0100
committerGitHub <noreply@github.com>2022-11-27 09:41:12 -0800
commit70f583c3e1d7c4bc1cca6b9c1cec6ca2e1f9e7b3 (patch)
tree4a81ec8383a9d6ee6b58138d2a5fd429c9161799 /dummy-data/README.md
parent98fe0a393970070fa04b5f37dbbb7a4c3ef82beb (diff)
downloadhomer-70f583c3e1d7c4bc1cca6b9c1cec6ca2e1f9e7b3.tar.gz
homer-70f583c3e1d7c4bc1cca6b9c1cec6ca2e1f9e7b3.tar.zst
homer-70f583c3e1d7c4bc1cca6b9c1cec6ca2e1f9e7b3.zip
Octoprint service (#324) (#560)v22.11.2
Add Octoprint service.
Diffstat (limited to 'dummy-data/README.md')
-rw-r--r--dummy-data/README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/dummy-data/README.md b/dummy-data/README.md
index 6db4712..78b2243 100644
--- a/dummy-data/README.md
+++ b/dummy-data/README.md
@@ -3,6 +3,12 @@
3This directory content makes possible to test custom services cards or create a demo without actually running the service. 3This directory content makes possible to test custom services cards or create a demo without actually running the service.
4The principle is simple: save a sample output of the API used in the service in a static file in this directory. The path must be identical as the service endpoint to be used seamlessly. 4The principle is simple: save a sample output of the API used in the service in a static file in this directory. The path must be identical as the service endpoint to be used seamlessly.
5 5
6## Start the mock server to expose dummy data
7
8```sh
9yarn mock
10```
11
6## How to add a new services sample 12## How to add a new services sample
7 13
8- create a directory for your service, and any sub-folder existing in the service api path. 14- create a directory for your service, and any sub-folder existing in the service api path.