Giter Club home page Giter Club logo

activiti-cloud-demo-ui's Introduction

activiti-cloud-demo-ui

Installing

To run or build the app without hassles, make sure that your machine is running Node version 8.2.0 or higher. Install required libraries by using below command.

npm install

Run in development mode

npm start

This command compiles and starts the project in watch mode. Browser will automatically reload upon changes. Upon start you can navigate to http://localhost:3000 with your preferred browser.

Production build

npm run build

This command builds project in production mode. All output is placed to dist folder and can be served from your preferred APS web server or from any other web server. You should need no additional files outside the dist folder

Test build

npm run test-single-run

This command runs unit test cases written in the project.

Application settings (server-side)

All server-side application settings are stored in the app.config.json file. By default the configuration file has the content similar to the following one:

{
    "apiHost": "my-api-host",
    "oauth2" : {
      "host": "my-auth-api-host",
      "authPath": "/my-auth-path/auth/token",
      "clientId": "my-client-id",
      "secret": ""
    },
    "logLevel" : "trace"
}

You can change the API end point here and provide the OAuth parameters of your external providers.

Application settings (server-side)

For local development:

  • run application in minikube
  • usual npm install then npm start

For Docker, you can customise using the following environment variables:

For example:

docker build activiti/activiti-cloud-demo-ui .
docker run -p 3000:3000 -d -e "ACT_GATEWAY_URL=http://gw:30080" -e "ACT_IDM_URL=http://idm:30081/auth/token" activiti/activiti-cloud-demo-ui

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.