Difference between revisions of "Installing the Lingobot Service"

From Lingoport Wiki
Jump to: navigation, search
(Set up install.conf)
Line 29: Line 29:
 
docker_image=lingoport/lingobot_dev
 
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
   
   

Revision as of 05:29, 26 December 2023

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_URSER=
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