https://github.com/workfloworchestrator/example-orchestrator-beginner
Example code for the orchestrator-core beginner workshop from the Workflow Orchestrator programme.
https://github.com/workfloworchestrator/example-orchestrator-beginner
Last synced: about 1 year ago
JSON representation
Example code for the orchestrator-core beginner workshop from the Workflow Orchestrator programme.
- Host: GitHub
- URL: https://github.com/workfloworchestrator/example-orchestrator-beginner
- Owner: workfloworchestrator
- License: apache-2.0
- Created: 2022-11-17T08:20:32.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-10-03T20:52:25.000Z (over 2 years ago)
- Last Synced: 2025-04-12T13:12:34.461Z (about 1 year ago)
- Language: Python
- Size: 42 KB
- Stars: 0
- Watchers: 19
- Forks: 4
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# example orchestrator (beginner workshop)
Example code for the
[orchestrator-core beginner workshop](https://workfloworchestrator.org/orchestrator-core/workshops/beginner/overview/)
from the [Workflow Orchestrator programme](https://workfloworchestrator.org).
## Do the workshop
This repository contains the code that belongs to the
[orchestrator-core beginner workshop](https://workfloworchestrator.org/orchestrator-core/workshops/beginner/overview/),
and can be used as an example in case you are stuck during the
workshop exercises. The
only files you need to copy are the `docker-compose.yml`, to create and run
the environment used during the workshop, and the `orchestrator-core-gui.env`
that is needed to correctly configure the GUI. Please follow the workshop for
further instructions.
## Shortcut to working example orchestrator
When in a hurry, or just curious, the example orchestrator can be started by
following the instructions below. This example implements the products and
workflows for a simple user and user group administration.
First clone this repository:
```shell
git clone https://github.com/workfloworchestrator/example-orchestrator-beginner.git
```
Use docker compose to start the environment and initialize the database:
```shell
cd example-orchestrator-beginner
docker compose up
```
Stop docker compose, copy the migrations to add the products and workflows
to the database, and start the environment again:
```shell
# ^C
cp -av examples/*add_user_and_usergroup* migrations/versions/schema
docker compose up
```
Now point your browser to `http://localhost:3000/` and have a look around.
You can use the `New Process` button to create subscription on the defined
products.