Installing the Lingobot Service

From Lingoport Wiki
Revision as of 22:03, 19 March 2024 by Rdaly (talk | contribs) (Set up install.conf)
Jump to: navigation, search

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


  • Verify that the /home/directory is correct.
  • The lingobot_image_version= value should be provided
  • Make sure the serverPort=8084 is not a port that is being used by anything else.
  • Set the docker_username= and docker_account_token=<token value> to the DockerHub login
  • Set the COMMAND_CENTER_URL is set the the correct Command Center URL

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