Last active
August 29, 2015 14:11
-
-
Save sifue/4f4c18147cb71a144912 to your computer and use it in GitHub Desktop.
SlackとIRCを相互リレーする話 ref: http://qiita.com/sifue/items/4fd6efee608da0cc849d
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| git clone [email protected]:sifue/ircslackrelay.git | |
| cd ircslackrelay | |
| sbt assembly |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| target/scala-2.11/ircslackrelay-assembly-X.X.X.jar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| irc.address="irchostname.com" | |
| irc.nickname="ircslackrelay" | |
| irc.username="ircslackrelay" | |
| irc.password="" | |
| irc.port=6667 | |
| irc.use_ssl=false | |
| irc.charset="UTF-8" | |
| slack.irc.address="hostname.irc.slack.com" | |
| slack.irc.nickname="fuga" | |
| slack.irc.username="fuga" | |
| slack.irc.password="hege.k314df9aKefaj" | |
| slack.irc.port=6667 | |
| slack.irc.use_ssl=true | |
| slack.irc.charset="UTF-8" | |
| slack.api.username="ircslackrelay" | |
| slack.api.token="aaaaa-999999999-99999999-9999999-99999999" | |
| slack.api.icon_url="https://pbs.twimg.com/profile_images/2193228277/scalachan.jpg" | |
| relays = [ | |
| { | |
| irc_channel: "#irc_channel_1" | |
| slack_channel: "#slack_channel_1" | |
| }, | |
| { | |
| irc_channel: "#irc_channel_2" | |
| slack_channel: "#slack_channel_2" | |
| }, | |
| { | |
| irc_channel: "#irc_channel_3" | |
| slack_channel: "#slack_channel_3" | |
| } | |
| ] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| java -jar -server ircslackrelay-assembly-X.X.X.jar |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| heroku create # git remote add heroku [email protected]:myrelay | |
| cp ircslackrelay_template.conf ircslackrelay.conf | |
| vi ircslackrelay.conf | |
| git add -f ircslackrelay.conf | |
| git commit -m "ircslackrelay.conf" | |
| git push heroku master |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pong, booted by boot_user_name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment