slack の過去ログ倉庫を建てよう (2017 合宿 lt)

Post on 22-Jan-2018

129 Views

Category:

Software

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

Slack AOSN Workshop "Day of the Programmer" Camp in Yuwaku ♨♨16 September 2017

Yutaka Kato

Slack

1

"

(\960/#/$)

%

( )

&&

enebular (https://enebular.com) ( )

GitHub

[New Flow]

Slack

social Slack Bot In

Bot API Token

⚠Outgoing Webhook Bot Users (https://api.slack.com/bot-users)

DB

MongoDB VULTR VPS (http://www.vultr.com/?ref=7053029)

( John Metro (https://jm.tasktoys.com) )

Slack ( info )

msg.payload - incoming message (

msg.slackObj - full Slack message details (

MongoDB

msg.payload

DB

) Function

← 2 ← 1

slackObj

msg.slackObj.time = new Date();

⚠ UTC

Deploy

*

enebular 30 ( ...)+

enebular "Export to Other Services" AWS Lambda, AWS IoT ( Lambda )

enebular Node.js Node-RED OSS (JSON )

Node-RED IBM Bluemix ()

) GitHub enebular-agent (https://github.com/enebular/enebular-agent)

VULTR VPS Node-RED DB Node-RED LDAP

➡ https://nodered.aosn.ws (https://nodered.aosn.ws) ( )

( )

) Slack

--

Elasticsearch

:

: Node.js

Web : Express

: Jade

LDAP : passport-ldapauth

UI : Bootstrap

Node-RED

LDAP

➡ https://slacklog.aosn.ws (https://slacklog.aosn.ws) ( )

1 . .

( )

Slack API

/

Thank you

Yutaka Katohttps://mikan.github.io (https://mikan.github.io)

top related