Skip to content

Latest commit

 

History

History
40 lines (24 loc) · 1.1 KB

File metadata and controls

40 lines (24 loc) · 1.1 KB

Examples

Examples are meant to illustrate usage of magic-flow. They can be found here

Running The examples

In case you want to debug the examples, or you just want to see them in action you can use the following steps.

1. Prerequisites

The first step is to install the dependencies of magic-flow with poetry. To do this run the following command on the root of the checkout.

poetry install

After that start the flow emulator in ./example directory (because that is where the flow.json the emulator configuration is), using:

flow emulator

2. Running examples

To run all the examples use:

poetry run examples

To run specific examples you can use the tag of the examples:

poetry run examples [ExampleTag]

e.g.:

poetry run examples T.1. T.2. S.4.