Skip to content
Activiti Modeling Application
Branch: master
Clone or download
popovicsandras [APM-859] New palette is not displayed properly in amadev (#87)
* Fix palette prod mode bug

* Update package-lock.json

* Update interfaces

* Fix typing issues

* Fix bpmn palette missing provider error in prod mode
Latest commit cc5ffe8 Mar 21, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Initial commit Jan 12, 2019
.vscode
charts Draft create Jan 12, 2019
config
e2e [APM-815] Decision table new editor (#81) Mar 20, 2019
jest
projects/ama-sdk
resources/i18n
scripts [APM-821] Enable e2e tests Mar 13, 2019
src
.babelrc
.dockerignore Initial commit Jan 12, 2019
.editorconfig
.gitignore
.helmignore
.npmignore
.travis.yml [APM-821] Enable e2e tests Mar 13, 2019
.updatebot.yml
Dockerfile
Jenkinsfile right variable Feb 9, 2019
LICENSE
OWNERS
OWNERS_ALIASES
README.md
activiti.png Initial commit Jan 12, 2019
angular.json
docker-entrypoint.sh
jest.config.js
license-header.txt
nginx.conf Initial commit Jan 12, 2019
package-lock.json
package.json [APM-821] Enable e2e tests Mar 13, 2019
redux-devtools.crx
skaffold.yaml
tsconfig.json [APM-820] new palette component (#76) Mar 15, 2019
tslint.json AllowedCharactersDirective Jan 21, 2019
updatebot.sh add pipeline support for activiti-cloud-modeling-app Jan 12, 2019

README.md

Activiti Modeling Application

Activiti

Introduction

The Activiti Modeling Application (AMA) is an application built using Alfresco Application Development Framework (ADF) components and was generated with Angular CLI.


Running the application

Prerequisites

Installing dependencies

$ npm install

Setting up environment variables

To be able to run the local dev server, we need to set some environment variable. Simply crete a .env file (this is gitignored) in the root of the repository with filling in the following data:

API_HOST="http://my-acm.implementation.com/whatever"
OAUTH_HOST="http://my-acm.implementation.com/auth/realms/whatever"

Development server

$ npm start

Run the script above for the development server. Navigate to http://localhost:4100/ (opens by default).

Development server with local ADF components

$ npm run start:dev

Run the script above for the development server using the local ADF components. For this to work properly you must have to chek out the Alfresco Application Development Framework (ADF) to the same parent directory which contains this repository too. Like this:

  • parent-folder
    • activiti-modeler-application
    • alfresco-adf-components

After starting the dev server, navigate to http://localhost:4100/ (opens by default).

Production server

$ npm run start:prod

Run the script above for the production server. This command is only intended to be used when running on the target environment.

After starting the production server, navigate to http://localhost:4100/.


Building the application

Development build

$ npm run build

Development build with local ADF components

$ npm run build:dev

Production build

$ npm run build:prod

Running in Docker

First build the application as above.

Then docker build . -t alfresco/alfresco-modeler-app: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


Running unit tests

$ npm test

Run the script above to execute the unit tests via Jest.


Browser Support

The application is supported in the following browsers:

Browser Version
Chrome Latest
Safari (OS X) 9.x
Firefox* Latest
Edge 13, 14
You can’t perform that action at this time.