Rocket.Chat - Botpress Readme
This is the module integration between Botpress and Rocket.Chat
- download [BP source code](https://github.com/botpress/botpress) and unzip it in a folder of your choice (_root BP folder_)
- download and unzip channel-rocketchat code under folder _module/channel-rocketchat_ of _root BP folder_
- from the _root BP folder_ launch
- yarn
- yarn build
- yarn package
git clone https://github.com/metsrl/channel-rocketchat.git
cd channel-rocketchat
docker build -t channel --no-cache .
docker run -v "$(pwd)":/out --rm channel bash -c "cp /bp/packages/bp/binaries/modules/channel-rocketchat.tgz /out/"
echo && echo "There you go:" && ls -lh channel-rocketchat.tgz
Then, put the channel-rocketchat.tgz inside your production "
{
...
"modules": [
...
{
"location": "MODULES_ROOT/channel-rocketchat",
"enabled": true
},
}
Edit data/bots/YOUR_BOT_ID/config/channel-rocketchat.json (or create it) and set
{
"$schema": "../../../assets/modules/channel-rocketchat/config.schema.json",
"enabled": true,
"rocketChatUrl": "https://chat.example.com",
"rocketChatUseSSL": true,
"rocketChatBotUser": "rocketChatBotUsername",
"rocketChatBotPassword": "rocketChatBotUserPassword",
"rocketChatRoom": "GENERAL",
"scope": ""
}
Please check the following links for more information