You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -120,12 +120,20 @@ tox -e type
120
120
121
121
8. Run examples
122
122
123
-
The tests in examples are using Mechanical Markdown (MM) from https://github.com/dapr/mechanical-markdown.
124
-
125
123
```bash
126
124
tox -e examples
127
125
```
128
126
127
+
[Dapr Mechanical Markdown](https://github.com/dapr/mechanical-markdown) is used to test the examples.
128
+
129
+
If you need to run the examples against a development version of the runtime, you can use the following command:
130
+
- Get your daprd runtime binary from [here](https://github.com/dapr/dapr/releases) for your platform.
131
+
- Copy the binary to a folder, for example `examples/.dapr/bin/` directory.
132
+
- In your example README, change the `dapr run` command and add a line `--runtime-path ./examples \`.
133
+
- Copy a dapr config file `config.yaml` file to the `examples/.dapr` directory. This file is usually in your $(HOME)/.dapr directory if you had installed dapr cli before.
134
+
- Now you can run the example with `tox -e examples`.
135
+
136
+
129
137
## Documentation
130
138
131
139
Documentation is generated using Sphinx. Extensions used are mainly Napoleon (To process the Google Comment Style) and Autodocs (For automatically generating documentation). The `.rst` files are generated using Sphinx-Apidocs.
0 commit comments