Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install for rocketchat hubot adapter #6

Open
Ya-Ri opened this issue May 25, 2016 · 7 comments
Open

install for rocketchat hubot adapter #6

Ya-Ri opened this issue May 25, 2016 · 7 comments

Comments

@Ya-Ri
Copy link

Ya-Ri commented May 25, 2016

Hi,

maybe you can provide a setup script depending on the chosen adapter...

i try those step without success:

  • replace slack inside bin/.env with rocketchat
  • add these environment variables:

ROCKETCHAT_ROOM=''
LISTEN_ON_ALL_PUBLIC=true
ROCKETCHAT_USER=bot
ROCKETCHAT_PASSWORD=bot

to: bin/.env-aiva

  • in package.json include: hubot-rocketchat instead of hubot-slack

i can't test your new one yet, nevertheless the Jarvis bot works.
Let me know if you have successfully integrate it with hubot...

Thanks for your great work, kind regards,

YaRi

@kengz
Copy link
Owner

kengz commented May 26, 2016

hmm does it throw any error when u run from npm run debug? Or just quietly fail?
Is ROCKETCHAT_AUTH required? Saw it on the page

yep as much as I'd like for it to be seamless to integrate any adapter, it will still takes some extra effort.

I'm currently working on distribution - using Docker, so people only need to run 1 docker command to set everything up - it's also more reliable that way without the interference with the system.

But I'll try to look at that ASAP whenever I have time :) thx for the feedback!

@Ya-Ri
Copy link
Author

Ya-Ri commented Jun 14, 2016

sorry for my late response.
The deployment with docker is a good idea, people who had tested jarvis bot will be interested by an npm ready to install also.
Maybe you can collaborate with this AI project also:
Itsabot (https://github.com/itsabot/abot)
i have posted a message on their github page to inform them about AIVA
Thanks for you good works.
Regards,
YaRi

@Ya-Ri Ya-Ri closed this as completed Jun 14, 2016
@pjmorr
Copy link

pjmorr commented Jun 14, 2016

I'll have to do some digging but I have a working bot with the rocket chat adapter. I may or may not have a docker config too

@Ya-Ri
Copy link
Author

Ya-Ri commented Jun 14, 2016

pjmorr, from my side i didn't success to integrate AIVA with rocket.chat, how did you do that?

@llwp
Copy link

llwp commented Jul 17, 2016

just looking around, I see this is closed... have rocket.chat working for me as well, using standard hubot but not yet with aiva... thats the plan, tho ;)

@kengz
Copy link
Owner

kengz commented Jul 20, 2016

Reopening the issue, would love to take a look at it when I can

@diegodorgam
Copy link

Hi guys, @kengz @llwp @Ya-Ri,
happy to see this here, I've just made a Rocket.Chat connection, here are some tricks and tips.

in config/defaul.json (or whatever file your using) just set the adapter like this:

  "ADAPTERS": {
    "ROCKETCHAT": {
      "ACTIVATE": true,
      "ROCKETCHAT_URL": "https://myinstance.rocket.chat",
      "ROCKETCHAT_ROOM": "GENERAL",
      "RESPOND_TO_DM": true,
      "RESPOND_TO_LIVECHAT": true,
      "ROCKETCHAT_USER": "bot_user",
      "ROCKETCHAT_PASSWORD": "bot_user_password",
      "ROCKETCHAT_AUTH": "password"
    },
...

You see there some of the rocketchat adapter's variables, self-explained right? You put some more of those there, just check the env variables in https://github.com/RocketChat/hubot-rocketchat.

So after saved this file you need to install the adapter.
In your bot directory, open the terminal and run:

npm install hubot-rocketchat

This will install RocketChat's Hubot adapter, doing this you can already start your bot and it will be connected to RocketChat!

awesome work here @kengz, we are taking some ideas to the HubotNatural project if you don't mind.

best wishes.
Diego Dorgam at Rocket.Chat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants