Skip to content

vsevolodbreus/orch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

orch

An orchestrator prototype, built on top of postgres

configure

Link or copy and edit the config file

ln -s env.default .env

install and run via docker (recommended)

docker-compose up --build

install and run manually

Install orch:

python -m pip install --user -e .

Migrate the database:

alembic upgrade head

Run the API listening on port 8000:

uvicorn orch:app

Running

Run example flow:

curl --request POST \
  --url http://localhost:8000/flows \
  --header 'Content-Type: application/json' \
  --data '{
        "name": "example",
        "args": {
                "wait_time": 10
        }
}' | jq

Retrieve executed flows:

curl --request GET --url http://localhost:8000/flows | jq

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published