howdyai / botkit-cms

An open tool for designing, building and managing interactive dialog systems
https://botkit.ai
MIT License
265 stars 92 forks source link

Sync between Botkit & Botkit-CMS #41

Open fabiorahamim opened 4 years ago

fabiorahamim commented 4 years ago

Hi, I have botkit and botkit-cms on the same server, both of them are running and everything fine.

I added the following to .env file (on botkit) and configured the .env on botkit-cms. var controller = Botkit.web({ studio_command_uri: 'http://MyIP:3000', studio_token: 'blablablabla', });

Chat platform

PLATFORM=web

authentication tokens for Bot users

TOKENS=blablablabla

Admin users for UI

USERS=admin:mypass

I added some text into the CMS framework and when I am checking the bot after the amendments in the CMS, nothing happens. It looks like that something is not connected well, how to connect them? how to check that they are talking to each other?

Thanks a lot

peterswimm commented 4 years ago

Did you restart the bot? I believe the content is only loaded at runtime.

fabiorahamim commented 4 years ago

Did you restart the bot? I believe the content is only loaded at runtime.

Yes, it looks that the configurations were not updated.

hello Echo: hello

test Echo: test

hey Echo: hey