Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vicalloy/django-lb-workflow
Reusable workflow library for Django
https://github.com/vicalloy/django-lb-workflow
bpmn django workflow workflow-engine
Last synced: 3 months ago
JSON representation
Reusable workflow library for Django
- Host: GitHub
- URL: https://github.com/vicalloy/django-lb-workflow
- Owner: vicalloy
- License: mit
- Created: 2017-04-01T14:43:42.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-06-14T07:21:51.000Z (over 1 year ago)
- Last Synced: 2024-07-20T01:16:45.977Z (4 months ago)
- Topics: bpmn, django, workflow, workflow-engine
- Language: Python
- Size: 452 KB
- Stars: 210
- Watchers: 17
- Forks: 73
- Open Issues: 4
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
django-lb-workflow
==================.. image:: https://secure.travis-ci.org/vicalloy/django-lb-workflow.svg?branch=master
:target: http://travis-ci.org/vicalloy/django-lb-workflow.. image:: https://coveralls.io/repos/github/vicalloy/django-lb-workflow/badge.svg?branch=master
:target: https://coveralls.io/github/vicalloy/django-lb-workflow?branch=masterReusable workflow library for Django.
``django-lb-workflow`` supports Django 2.20+ on Python 3.5+.
.. image:: https://github.com/vicalloy/django-lb-workflow/raw/master/docs/_static/demo-flow.png
Demo site
---------Demo site: http://wf.haoluobo.com/
username: ``admin`` password: ``$password``
Switch to another user: http://wf.haoluobo.com/impersonate/search
Stop switch: http://wf.haoluobo.com/impersonate/stop
The code of demo site
---------------------Carrot Box: https://github.com/vicalloy/carrot-box/
It's a workflow platform, you can start a new project with it.
Documentation
-------------Read the official docs here: http://django-lb-workflow.readthedocs.io/en/latest/
Installation
------------Workflow is on PyPI so all you need is: ::
pip install django-lb-workflow
Pipenv
------Install pipenv and create a virtualenv: ::
pip3 install pipenv
make pyenvSpawns a shell within the virtualenv: ::
pipenv shell
Testing
-------Running the test suite is as simple as: ::
make test
Run test project
----------------Running the test project is as simple as: ::
npm install
python testproject/wfgen.py
make runDemo for create a new flow
--------------------------You can find demo code in ``lbworkflow/tests/leave``.
``testproject/wfgen.py`` is a demo for how to generate base code for a flow. The model for this flow is in ``/lbworkflow/tests/issue``.