Difference between revisions of "Installing the Lingobot Service"
(→Set up install.conf) |
(→Set up install.conf) |
||
Line 34: | Line 34: | ||
* Make sure the <code>serverPort=8084</code> is not a port that is being used by anything else. |
* Make sure the <code>serverPort=8084</code> is not a port that is being used by anything else. |
||
* Set the <code>docker_username=</code> and <code>docker_account_token=<token value></code> to the DockerHub login |
* Set the <code>docker_username=</code> and <code>docker_account_token=<token value></code> to the DockerHub login |
||
− | * Set the <code>COMMAND_CENTER_URL</code> |
+ | * Set the <code>COMMAND_CENTER_URL</code> to the correct Command Center URL |
==Run install.sh== |
==Run install.sh== |
Revision as of 22:04, 19 March 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
- 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=
anddocker_account_token=<token value>
to the DockerHub login - Set the
COMMAND_CENTER_URL
to 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