spiff-arena/README.md

59 lines
2.3 KiB
Markdown
Raw Normal View History

2022-10-12 15:07:01 +00:00
# spiff-arena
2023-01-15 05:47:01 +00:00
SpiffArena is a low(ish)-code software development platform for building, running, and monitoring executable diagrams.
It is intended to support Citizen Developers and to enhance their ability to contribute to the software development process.
Using tools that look a lot like flow-charts and spreadsheets, it is possible to capture complex rules in a way that everyone in your organization can see, understand, and directly executable.
2023-01-05 19:35:33 +00:00
2023-01-15 05:47:01 +00:00
Please visit the [SpiffWorkflow website](https://www.spiffworkflow.org) for a [Getting Started Guide](https://www.spiffworkflow.org/posts/articles/get_started/) to see how to run SpiffArena locally and try it out.
There are also additional articles, videos, and tutorials about SpiffArena and its components, including SpiffWorkflow, Service Connectors, and BPMN.js extensions.
2023-01-05 19:35:33 +00:00
2023-01-15 05:47:01 +00:00
## Contributing
2023-01-05 19:35:33 +00:00
2023-01-15 05:47:01 +00:00
This is a monorepo based on git subtrees that pulls together various spiffworkflow-related projects.
Feel free to ignore that and drop us a pull request.
If you need to push back from the monorepo to one of the individual repos, here's an example command (and find other scripts we use in the `bin` directory):
2022-10-12 15:07:01 +00:00
2022-11-13 19:05:34 +00:00
git subtree push --prefix=spiffworkflow-frontend git@github.com:sartography/spiffworkflow-frontend.git add_md_file
2023-05-22 16:31:08 +00:00
## Backend Setup
2023-01-15 05:47:01 +00:00
2023-05-22 16:31:08 +00:00
First install python and poetry, and then:
cd spiffworkflow-backend
2023-01-15 05:47:01 +00:00
poetry install
2023-05-22 16:31:08 +00:00
./bin/run_server_locally
## Frontend Setup
First install nodejs, ideally the version in .tool-versions (but likely other versions will work). Then:
2023-01-15 05:47:01 +00:00
2023-05-22 16:31:08 +00:00
cd spiffworkflow-frontend
npm install
npm start
2022-10-12 15:07:01 +00:00
2023-05-22 16:31:08 +00:00
## Run tests
2022-11-22 03:36:26 +00:00
./bin/run_pyl
Requires at root:
- .darglint
- .flake8
- .pre-commit-config.yaml
- pyproject.toml
2023-01-05 19:35:33 +00:00
2023-05-22 16:31:08 +00:00
## Run cypress automated browser tests
2023-03-10 15:09:02 +00:00
2023-05-22 16:31:08 +00:00
Get the app running so you can access the frontend at http://localhost:7001 in your browser by following the frontend and backend setup steps above, and then:
2023-03-10 15:09:02 +00:00
./bin/run_cypress_tests_locally
2023-01-05 19:35:33 +00:00
2023-05-22 16:31:08 +00:00
## License
2023-01-15 05:47:01 +00:00
SpiffArena's main components are published under the terms of the
[GNU Lesser General Public License (LGPL) Version 3](https://www.gnu.org/licenses/lgpl-3.0.txt).
2023-01-05 19:35:33 +00:00
2023-05-22 16:31:08 +00:00
## Support
2023-01-15 05:47:01 +00:00
You can find us on [our Discord Channel](https://discord.gg/BYHcc7PpUC).
2023-01-05 19:35:33 +00:00
2023-01-15 05:47:01 +00:00
Commercial support for SpiffWorkflow is available from [Sartography](https://sartography.com).