Difference between revisions of "Installing the Lingobot Service"

From Lingoport Wiki
Jump to: navigation, search
(Set up install.conf)
(Set up install.conf)
Line 25: Line 25:
 
APP_TOKEN=xapp-**********
 
APP_TOKEN=xapp-**********
 
COMMAND_CENTER_URL=https://your_server/command-center
 
COMMAND_CENTER_URL=https://your_server/command-center
  +
COMMAND_CENTER_USER=
COMMAND_CENTER_URSER=
 
 
COMMAND_CENTER_TOKEN=
 
COMMAND_CENTER_TOKEN=
 
docker_image=lingoport/lingobot_dev
 
docker_image=lingoport/lingobot_dev

Revision as of 08:28, 10 January 2024

Set up install.conf

#
# Provide your home directory, lingobot folder will be created
#
home_directory=/home/centos
#
# Provide the Lingobot version
#
lingobot_image_version=
#
# Provide the Lingobot port
#
serverPort=8084
#
# Provide your Docker Hub username
#
docker_username=lingoportcustomer
#
# Provide your Docker Hub account token
#
docker_account_token=dckr_pat_cUuqyjSfv3JQRG0R5_cwmWsHceg
# Slack security config
BOT_TOKEN=xoxb-**********
APP_TOKEN=xapp-**********
COMMAND_CENTER_URL=https://your_server/command-center
COMMAND_CENTER_USER=
COMMAND_CENTER_TOKEN=
docker_image=lingoport/lingobot_dev

Run install.sh

    chmod +x *.sh
    sudo ./install.sh

To check the running container status

   sudo docker ps

If you need to re-run the install.sh, make sure to run uninstall.sh first to clean your environment.

Note: Docker image version is not the Lingobot version, check latest docker image version at https://hub.docker.com/repository/docker/lingoport/lingobot/general


Once this is done, your instance of LingoBot will be up and running!

Installation Verification

A quick way to verify that the LingoBot service has successfully launched and can be accessed by your team, go to your collaboration environment and try sending a message to LingoBot. To do this, you may have to invite LingoBot to the room you are currently in.

Example:

lingobot hello

if LingoBot responds with "hello", then you have successfully launched LingoBot. Have Fun!

Verify that you see the correct projects:

 lingobot list projects