# Starting ex-cdm-swaps in demo mode

**URL:** <https://forum.canton.network/t/starting-ex-cdm-swaps-in-demo-mode/481>\
**Category:** App Development\
**Created:** [May 17, 2020, 7:27pm UTC](https://forum.canton.network/t/starting-ex-cdm-swaps-in-demo-mode/481 "2020-05-17T19:27:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Olusegun](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/olusegun/32/873_2.png) [@Olusegun](https://forum.canton.network/u/Olusegun)\
**Post date:** [May 17, 2020, 7:27pm UTC](https://forum.canton.network/t/starting-ex-cdm-swaps-in-demo-mode/481/1 "2020-05-17T19:27:42Z")

</div>

Hello all,

Good evening.

> - Start the automation by running:
> 
> ```haskell
> (cd app/; sbt "runMain com.digitalasset.app.Bots localhost 6865 {includeDemo}")
> 
> ```

Set `includeDemo` to `true` or `false` depending on whether the application is run in [demo](https://github.com/digital-asset/ex-cdm-swaps/blob/ba8e1f0dec418b30a5b5c05c0c46c4111b365c92/docs/demo.md) mode.

Please how do I set IncludeDemo to true?

is it

```haskell
{ includeDemo=true}

```

?

Thanks.

---

<div class="post-metadata">

**Author:** ![cocreature](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/cocreature/32/36_2.png) [@cocreature](https://forum.canton.network/u/cocreature)\
**Post date:** [May 17, 2020, 7:29pm UTC](https://forum.canton.network/t/starting-ex-cdm-swaps-in-demo-mode/481/2 "2020-05-17T19:29:12Z")

</div>

You can set the last argument to `true` or `false`. So putting things together,

```haskell
(cd app/; sbt "runMain com.digitalasset.app.Bots localhost 6865 true")

```

will start the bots in demo mode.
