Giter Club home page Giter Club logo

activiti-modeling-app's Introduction

Activiti Modeling Application

master Build Status

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:adfdev

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:adfdev

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

activiti-modeling-app's People

Contributors

almerico avatar bolbosenco avatar cristinaj avatar daisuke-yoshimoto avatar davidcanonieto avatar denysvuika avatar georgiana-roman avatar magemello avatar marouanbentaleb avatar mauriziovitale avatar mcchrys avatar popovicsandras avatar rdiacenco avatar rgherghelas avatar ryandawsonuk avatar salaboy avatar silviucpopa avatar snyk-bot avatar

Watchers

 avatar

Forkers

blueiceprj

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.