spiff-arena/spiffworkflow-backend
jbirddog 09e2c3b4a9
Leverage `first_task` in `get_ready_engine_steps` (#1858)
* WIP

* Getting pyl to pass

* WIP
2024-07-02 10:01:11 -07:00
..
bin Mi large data debug bpm only (#1846) 2024-07-01 16:05:51 -04:00
docs
keycloak New calling process table (#1480) 2024-05-03 10:09:32 -04:00
local_wheels
log
migrations Pi summary field (#1830) 2024-06-26 13:09:06 -07:00
src/spiffworkflow_backend Leverage `first_task` in `get_ready_engine_steps` (#1858) 2024-07-02 10:01:11 -07:00
tests updated SpiffWorkflow for mi task performance improvements w/ burnettk (#1847) 2024-07-01 13:32:10 -07:00
.cookiecutter.json
.darglint
.flake8
.gitattributes
.gitignore ignore venv, and ensure always sort group members to fix flaky test in postgres (#1357) 2024-04-08 11:26:07 -07:00
.pre-commit-config.yaml
.readthedocs.yml
.snyk fix one snyk issue and ignore another 2024-05-13 10:28:58 -04:00
CODE_OF_CONDUCT.rst
Dockerfile add jq to backend deployment image 2024-05-03 13:50:42 -04:00
LICENSE.rst
README.rst
codecov.yml
conftest.py blank-task-list-on-new-pi (#1634) 2024-05-29 16:25:47 -04:00
dev.Dockerfile only create group if not exists 2024-07-01 15:10:18 -04:00
dev.docker-compose.yml Support non task data environment, step 1 (#1745) 2024-06-20 07:56:49 -04:00
docker-compose.yml Allow setting path prefix (#1344) 2024-04-05 15:14:09 -04:00
poetry.lock bump spiff for message pre script fix (#1857) 2024-07-02 09:41:20 -07:00
pyproject.toml Bump sqlalchemy from 2.0.27 to 2.0.31 in /spiffworkflow-backend (#1854) 2024-07-02 15:18:30 +00:00
sonar-project.properties
wsgi.py remove useless comment w/ burnettk 2024-04-24 15:51:53 -04:00

README.rst

Spiffworkflow Backend
==========
|Tests| |Codecov| |pre-commit| |Black|

.. |Tests| image:: https://github.com/sartography/spiff-arena/actions/workflows/tests.yml/badge.svg
   :target: https://github.com/sartography/spiff-arena/actions?workflow=Tests
   :alt: Tests
.. |Codecov| image:: https://codecov.io/gh/sartography/spiff-arena/branch/main/graph/badge.svg
   :target: https://codecov.io/gh/sartography/spiff-arena
   :alt: Codecov
.. |pre-commit| image:: https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white
   :target: https://github.com/pre-commit/pre-commit
   :alt: pre-commit
.. |Black| image:: https://img.shields.io/badge/code%20style-black-000000.svg
   :target: https://github.com/psf/black
   :alt: Black



Features
--------

* Backend API portion of the spiffworkflow engine webapp


Running Locally
---------------

See detailed instructions at the root of spiff-arena, but:

* Install libraries using poetry:

.. code:: console

   $ poetry install

NOTE: Mysql and Postgres may require special binary files exist on your system prior
to installing these libraries. Please see the `PyPi mysqlclient instructions`_
and the pre-requisites for the `Postgres psycopq2 adapter`_ Following the
instructions here carefully will assure your OS has the right dependencies
installed.

* Setup the database - uses mysql and assumes server is running by default:

.. code:: console

   $ ./bin/recreate_db clean

* Run the server:

.. code:: console

   $ ./bin/run_server_locally


Requirements
------------

* Python 3.10+
* Poetry


Contributing
------------

Contributions are very welcome.
To learn more, see the `Contributor Guide`_.


Issues
------

If you encounter any problems,
please `file an issue`_ along with a detailed description.


Credits
-------

This project was generated from `@cjolowicz`_'s `Hypermodern Python Cookiecutter`_ template.

.. _@cjolowicz: https://github.com/cjolowicz
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _PyPI: https://pypi.org/
.. _Hypermodern Python Cookiecutter: https://github.com/cjolowicz/cookiecutter-hypermodern-python
.. _file an issue: https://github.com/sartography/spiffworkflow-arena/issues
.. github-only
.. _PyPi mysqlclient instructions: https://pypi.org/project/mysqlclient/
.. _Postgres psycopq2 adapter: https://www.psycopg.org/docs/install.html#prerequisites