/activiti-modeling-app

Activiti Modeling Application

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Activiti Modeling Application

master Build Status

Activiti

Introduction

The Alfresco Modeling Application is an extended version of the Activiti Modeling application (AMA), built using Alfresco Application Development Framework (ADF) components.

Installing dependencies

Run the following command to install all third-party dependencies:

npm install

Running the application

Use one of the following commands to run the application:

# develop server
npm start

# Production server
npm start -- --prod

Building the application

Use one of the following commands to build the application:

# develop build
npm run build

# Production build
npm run build -- --prod

Running unit tests

npm test

Running in Docker

First build the application as above.

Then docker build . -t alfresco/alfresco-apps:latest to build the image

Start with below (substituting with values for your deployment):

docker run -it -e APP_CONFIG_OAUTH2_HOST="http://KEYCLOAKHOST/auth/realms/activiti" -e APP_CONFIG_OAUTH2_CLIENTID="activiti" -e APP_CONFIG_BPM_HOST="http://GATEWAYHOST" -p 8080:80 alfresco/alfresco-modeling-app:latest

If any substitutions don't work then check that the placeholders in docker-entrypoint.sh match src/app.config.json

Browser Support

The application is supported in the following browsers:

Browser Version
Chrome Latest
Safari (OS X) 9.x
Firefox Latest
Edge 13, 14