GithubHelp home page GithubHelp logo

mbuga5 / rehearsal Goto Github PK

View Code? Open in Web Editor NEW

This project forked from narendrapautomationengineer/rehearsal

0.0 0.0 0.0 770 KB

Edit orquesta workflow files and visualize the corresponding graph

Home Page: http://www.orquestaedit.com

License: MIT License

Shell 0.76% JavaScript 48.95% Python 23.76% Makefile 3.09% HTML 15.02% Dockerfile 8.42%

rehearsal's Introduction

Rehearsal

rehearsal is a dockerized mini web app written in written in flask and react to help you edit orquesta workflow files in the browser and visualize the corresponding graph

rehearsal screenshot

Quickstart

prerequisites: install docker and docker-compose on your machine

git clone [email protected]:trstruth/rehearsal.git
cd rehearsal
git submodule init && git submodule update
make up

Point a browser at localhost:5000 and you should see a yaml editor. Paste your favorite orquesta workflow definition into the editor and wait for a second or two.

General

Rehearsal is a lightweight flask app that can help you develop orquesta workflows. Sanity check your workflows by reviewing the directed graph composed from your yaml definition. This tight feedback loop can help cut down on workflow development time, and sharing the high level flowchart of a workflow can help others quickly build a mental model of your workflow logic.

The orquesta source code is bind mounted as ./image/orquesta:/orquesta and pip installed inside the container with the -e flag. This means that you can edit the orquesta source code on your host machine and see how it affects the composed graph. People contributing to orquesta may find this useful.

Rehearsal is dockerized because the installation of its dependencies (namely pygraphviz) gave me some issues that I didn't want other people to try to deal with. I think people who have worked with stackstorm's official docker container will find the structure of this repo to be fairly familiar.

Further Reading

  • If you're interested in the frontend, read the editor code
  • If you want to know how the graph is constructed, read the flask code
  • If you really want to know how the graph is constructed, read the orquesta source code

Disclaimer/Misc

I hacked this together as a developer tool for myself and my team. We've gotten some great use out of it and want to share it with the community. Issues, forks, feature requests, pull requests, constructive critcism, comments and stars are all welcome.

rehearsal's People

Contributors

dependabot[bot] avatar trstruth avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.