lintoai/linto-platform-admin

Sponsored OSS

By lintoai

Updated almost 4 years ago

The main web interface for the LinTO Platform.

Image
Integration & delivery
Machine learning & AI
Monitoring & observability
0

100K+

lintoai/linto-platform-admin repository overview

linto-platform-admin

Description

This web interface is used as a central manager for a given fleet of LinTO clients (voice-enabled apps or devices)

You might :

  • Create a "room context" (node-red workflow paired with a specific LinTO device)
  • Create, edit, mock and template workflows for later usage
  • Create an "application context" (node-red workflow paired with a dynamic number of connected LinTO clients)
  • Install or uninstall LinTO skills (node-red nodes)
  • Monitor LinTO clients (client devices or client applications)
  • Edit/train a NLU model (natural language understanding)
  • And many more

Usage

See documentation : https://doc.linto.ai

Deploy

With our proposed stack https://github.com/linto-ai/linto-platform-stack

Develop

Prerequisites

To lauch the application, you'll have to launch associated services :

Download and setup

Download git repository
cd YOUR/PROJECT/PATH/
git clone [email protected]:linto-ai/linto-platform-admin.git
cd linto-platform-admin
Setup packages/depencies
cd /webserver
npm install
cd ../vue_app
npm install

Front-end settings

You will need to set some environment variables to connect services like "Business Logic Server", "NLU/Tock"

Set front-end variables

Go to the /vue_app folder and edit the following files: .env.devlopment, .env.production

  • .env.devlopment : if you want to set custom port or url, replace VUE_APP_URL and VUE_APP_NLU_URL values
(example)
VUE_APP_URL=http://localhost:9000
VUE_APP_NLU_URL=http://my-nlu-service.local
  • .env.production : set your "application url" and "Tock interface url" for production mode
(example)
VUE_APP_URL=http://my-linto-platform-admin.com
VUE_APP_NLU_URL=http://my-nlu-service.com

Back-end and services settings

Set global and webserver variables

Go to the /webserver folder, you'll see a .env_default file. Rename this file as .env and edit the environment variables.

cd YOUR/PROJECT/PATH/linto-platform-admin/webserver
cp .env_default .env
Server settings
  • If you want to start linto-platform-admin as a stand-alone service: Edit /webserver/.env
  • If you want to start linto-platform-admin with docker swarm mode: Edit /.docker_env
Env variableDescriptionexample
TZTime-zone valueEurope/Paris
LINTO_STACK_DOMAINLinto admin host/urllocalhost:9000, http://my-linto_admin.com
LINTO_STACK_ADMIN_HTTP_PORTlinto admin port9000
LINTO_STACK_ADMIN_COOKIE_SECRETlinto admin cookie secret phrasemysecretcookie
LINTO_STACK_ADMIN_API_WHITELIST_DOMAINSCORS auhtorized domains list (separator ',')http://localhost:10000,http://my-domain.com
LINTO_STACK_REDIS_SESSION_SERVICERedis store service host/urllocalhost, linto-platform-stack-redis
LINTO_STACK_REDIS_SESSION_SERVICE_PORTRedis store service port6379
LINTO_STACK_TOCK_SERVICETock (nlu service) host/urllocalhost, http://my-tock-service.com
LINTO_STACK_TOCK_USERTock (nlu service) user[email protected]
LINTO_STACK_TOCK_PASSWORDTock (nlu service) userpassword
LINTO_STACK_STT_SERVICE_MANAGER_SERVICESTT service host/urllocalhost, http://my-s
tt-service.com
LINTO_STACK_MONGODB_SERVICEMongoDb service host/urllocalhost, linto-platform-stack-service
LINTO_STACK_MONGODB_PORTMongoDb service port27017
LINTO_STACK_MONGODB_DBNAMEMongoDb service database namelintoAdmin
LINTO_STACK_MONGODB_USE_LOGINEnable/Disable MongoDb service authenticationtrue,false
LINTO_STACK_MONGODB_USERMongoDb service usernameuser
LINTO_STACK_MONGODB_PASSWORDMongoDb service usernamepassword
LINTO_STACK_MQTT_HOSTMQTT broker hostlocalhost
LINTO_STACK_MQTT_PORTMQTT broker port1883
LINTO_STACK_MQTT_USE_LOGINEnable/Disable MQTT broker authenticationtrue,false
LINTO_STACK_MQTT_DEFAULT_HW_SCOPEMQTT broker "hardware" scopeblk
LINTO_STACK_MQTT_USERMQTT broker useruser
LINTO_STACK_MQTT_PASSWORDMQTT broker userpassword
LINTO_STACK_BLS_SERVICEBusiness logic server (nodered instance)localhost, http://my-bls.com
LINTO_STACK_BLS_USE_LOGINEnable/Disable Business logic server authenticationtrue,false
LINTO_STACK_BLS_USERBusiness logic server useruser
LINTO_STACK_BLS_PASSWORDBusiness logic serverpassword

Tag summary

Content type

Image

Digest

sha256:9c77d0edd

Size

476.3 MB

Last updated

almost 4 years ago

docker pull lintoai/linto-platform-admin

This week's pulls

Pulls:

35

Jun 29 to Jul 5