Getting started with Cafienne
This repository enables you to quickly setup a Cafienne Demo environment with Docker.
The Cafienne Demo environment consists of a set of Docker images. Make sure you have a running Docker instance available on your system.
Furthermore you need to have access to the
Cafienne getting-started repository in Github.
Downloading and starting the environment
Next clone this repository from GitHub by running the following command in a terminal:
# this step puts the code onto your system git clone https://github.com/cafienne/getting-started.git # go into the directory that holds the code cd ./getting-started # tell Docker to spin up the environment - this may take a while the first time you do it docker-compose up
This setup is the most default version. This version runs with an in-memory database, which means that whenever you start it, it starts with a blank completely blank environment. Alternatives with e.g. PostgreSQL or Microsoft SQL Server are documented at the docker configuration.
Exposed URLs of the Cafienne Demo environment
After starting up the Cafienne Demo environment, the following URL allow you to access the various parts of the environment:
- Cafienne Generic UI: http://localhost:3317
- Cafienne IDE environment: http://localhost:2081
- Cafienne API (exposed through Swagger): http://localhost:2027
- MailCatcher web UI: http://localhost:1080
Building and deploying a CMMN model
Creating a model
The Cafienne IDE can be accessed via http://localhost:2081. In this environment, you can create new CMMN models and deploy them to the engine.
Deploy existing models to the demo enviroment
When you already have existing models built by the Cafienne IDE, you can simply deploy them to this
environment by copying the build CMMN model XML file to the
deployments/definitions folder in this repository.
The Cafienne Demo environment picks up any valid model that is stored in this folder.