Difference between revisions of "Installing the Lingobot Service"
(→Set up install.conf) |
(→Installation Verification) |
||
(5 intermediate revisions by 2 users not shown) | |||
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 |
||
+ | |||
+ | |||
+ | * Verify that the <code>/home/directory</code> is correct. |
||
+ | * The <code>lingobot_image_version=</code> value should be provided |
||
+ | * 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>COMMAND_CENTER_URL</code> to the correct Command Center URL |
||
==Run install.sh== |
==Run install.sh== |
||
Line 46: | Line 53: | ||
== Installation Verification == |
== 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. |
+ | A quick way to verify that the LingoBot service has successfully launched and can be accessed by your team, go to your collaboration environment (Slack, Flowdock, etc.) and try sending a message to LingoBot. To do this, you may have to invite LingoBot to the room you are currently in. |
Example: |
Example: |
||
Line 54: | Line 61: | ||
Verify that you see the correct projects: |
Verify that you see the correct projects: |
||
− | + | lingobot list projects |
|
+ | |||
+ | List of all active projects: |
||
+ | Name | Type |
||
+ | -----------------------------------------------------|---------------|---------- |
||
+ | CET.IOS.testPush(testPush) | Localyzer | Parent |
||
+ | CET.National.testing(testing) | Globalyzer | Parent |
||
+ | CET.Android.test8665(test8665) | Globalyzer | Parent |
||
+ | CET.NOAAWeatherGithub.testing(testing) | Localyzer | Parent |
Latest revision as of 22:06, 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 (Slack, Flowdock, etc.) 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
List of all active projects: Name | Type -----------------------------------------------------|---------------|---------- CET.IOS.testPush(testPush) | Localyzer | Parent CET.National.testing(testing) | Globalyzer | Parent CET.Android.test8665(test8665) | Globalyzer | Parent CET.NOAAWeatherGithub.testing(testing) | Localyzer | Parent