Skip to content

Commit

Permalink
chore(README): adjust example section
Browse files Browse the repository at this point in the history
 * add how to run examples
 * add docker command to start broker
  • Loading branch information
ChrisKujawa committed Jul 8, 2019
1 parent 52842c8 commit 6fb883a
Showing 1 changed file with 17 additions and 2 deletions.
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,25 @@ Simply run `msbuild Zeebe.sln` or `dotnet build Zeebe.sln`
* Update retries of an job
* Resolve an existing incident
* Cancel an existing workflow instance
* List all workflows
* Request a workflow resource

## Examples

There exist an example project under `Client.Examples/`, which contains some of the examples below.
You can run the example with the following command:

```bash
dotnet run --project Client.Examples/Client.Examples.csproj
```

Make sure that you have an broker runing before you execute the examples.
Easiest way to run an broker is to use docker, see the following command:

```
docker run -p 26500:26500 camunda/zeebe:latest
```

### Client

To create a client use this:

```csharp
Expand Down

0 comments on commit 6fb883a

Please sign in to comment.