O documento discute ferramentas de comunicação como Slack e HUBOT, incluindo vantagens do Slack como integrações e compartilhamento de arquivos. Ele também fornece uma introdução ao HUBOT, cobrindo instalação, estrutura, exemplo de script e opções de implantação.
4. 1.
TODA COMUNIDADE E SEUS
TIMES EM UM SÓ LUGAR.
São alguns exemplos…
iosdevbr.slack.com
androiddevbr.slack.com
ruby-talk.slack.com
Razões para usar Slack
22. introMessage = (user) ->
if user?.name? and user?.hobby?
"hello, I am #{response.name}, " +
"a #{response.hobby}ist."
else
message = "Please tell me more about yourself."
message
me =
name: "Chiquim"
hobby: "Hubot curation"
console.log introMessage(me)
#hello, I am Chiquim, a Hubot curationist
27. hubot persistance
m armazenamento simples através do hubot.bra
carregado por redis-brain, mongo-brain, etc.
ode encontrar estes em hubot-scripts ou escrever
28. # you may want to wait until the brain has been
initialized
# and there is a database connection
robot.brain.on 'loaded', ->
robot.brain.lastAccessed = new Date()
robot.brain.seagulls = 12
robot.brain.flowers = { pansies: true, daffodils:
false }
# hubot brain runs on events
robot.brain.emit 'save'
32. hubot -c criado o Heroku
Procfile para você
run Heroku create
deploy com git push heroku master
inicie com heroku ps:scale web=1
ê deverá rodar o ps:scale somente por uma
36. LINKS INTERESSANTES
1) Criação do seu próprio bot - http://blog.pandorabots.com/putting-
your-bot-on-slack/
Integrando IA no seu hubot - https://developer.pandorabots.com/
2 ) Nove ferramentas que não podemos viver sem no Slack -
https://keen.io/blog/105456820166/9-slack-hacks-we-couldnt-live-
without
3) deploy automático com hubot em Travis CI -
http://purevirtual.eu/2015/02/18/deploy-githubs-hubot-for-slack-
automatically-with-travis-ci-and-cloudfoundry-part-1/