lintoai/linto-platform-business-logic-server

Sponsored OSS

By lintoai

Updated over 3 years ago

Server runtime for LinTO client's skills. Based on node-red.

Image
Security
Integration & delivery
Machine learning & AI
0

100K+

lintoai/linto-platform-business-logic-server repository overview

Linto-Platform-Business-Logic-Server

This services is mandatory in a complete LinTO platform stack as the main process that actualy executes a workflow defined as a collection of LinTO skills. This service itself mainly consists of a wrapper for a node-red runtime. Any user defined context on linto-admin (a given set of configured skills) is therefore backed by a node-red flow.

Define LinTO contexts as node-red flows

This service provides for a node-red web interface wich is meant to get embedded in the main LinTO platform admin web interface. LinTO skills are node-red nodes

Develop

Install project

git clone https://github.com/linto-ai/Business-Logic-Server.git
cd Business-Logic-Server
npm install
Configuration environement

cp .envdefault .env Then update the .env to manage your personal configuration

Red Settings

Node-Red provide a configuration file lib/node-red/settings/settings.js. More information can be found on node-red website : Settings.js

Custom catalogue can be setup on the settings.js

editorTheme:{
  palette: {
    catalogues: [
      'https://my.custom.registry/catalogue.json'
    ]
  }
}

Note that the .npmrc need to be configured to be used with a custom registry

Run project

Normal : npm run start Debug : DEBUG=* npm run start

Interface connect

By default you can reach the user interface on http://localhost:9000

Docker

Install Docker and Docker Compose

You will need to have Docker and Docker Compose installed on your machine. If they are already installed, you can skip this part. Otherwise, you can install them referring to docs.docker.com/engine/installation/, and to docs.docker.com/compose/install/.

Build

You can build the docker with docker-compose build Then run it with docker-compose run Then you can acces it on localhost:9000

Tag summary

Content type

Image

Digest

sha256:4952f929c

Size

428.5 MB

Last updated

over 3 years ago

docker pull lintoai/linto-platform-business-logic-server:latest-unstable

This week's pulls

Pulls:

41

Jun 29 to Jul 5