Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
習慣的にやりたいことを手助けしてくれるLINEボットを作った話
Search
Shintaro Ikeda
April 18, 2018
Technology
0
54
習慣的にやりたいことを手助けしてくれるLINEボットを作った話
https://github.com/momotaro98/yarana-bot
Shintaro Ikeda
April 18, 2018
Tweet
Share
More Decks by Shintaro Ikeda
See All by Shintaro Ikeda
Difference between Swagger and OpenAPI
momotaro98
0
140
Haskell-Rinko-11
momotaro98
0
35
AlertForViber_20171207
momotaro98
0
180
アウトプット駆動スキルアップ
momotaro98
1
65
マイクロサービスの概要と構築 統合編
momotaro98
0
80
Other Decks in Technology
See All in Technology
AWS Community Builderのススメ - みんなもCommunity Builderに応募しよう! -
smt7174
0
180
AIアプリケーション開発でAzure AI Searchを使いこなすためには
isidaitc
1
120
Unsafe.BitCast のすゝめ。
nenonaninu
0
200
新卒1年目、はじめてのアプリケーションサーバー【IBM WebSphere Liberty】
ktgrryt
0
130
DMMブックスへのTipKit導入
ttyi2
1
110
深層学習と3Dキャプチャ・3Dモデル生成(土木学会応用力学委員会 応用数理・AIセミナー)
pfn
PRO
0
460
Oracle Exadata Database Service(Dedicated Infrastructure):サービス概要のご紹介
oracle4engineer
PRO
0
12k
WantedlyでのKotlin Multiplatformの導入と課題 / Kotlin Multiplatform Implementation and Challenges at Wantedly
kubode
0
250
商品レコメンドでのexplicit negative feedbackの活用
alpicola
2
370
re:Invent2024 KeynoteのAmazon Q Developer考察
yusukeshimizu
1
150
2024年活動報告会(人材育成推進WG・ビジネスサブWG) / 20250114-OIDF-J-EduWG-BizSWG
oidfj
0
230
完全自律型AIエージェントとAgentic Workflow〜ワークフロー構築という現実解
pharma_x_tech
0
350
Featured
See All Featured
How to Think Like a Performance Engineer
csswizardry
22
1.3k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Building Adaptive Systems
keathley
38
2.4k
[RailsConf 2023] Rails as a piece of cake
palkan
53
5.1k
Designing for humans not robots
tammielis
250
25k
Building Better People: How to give real-time feedback that sticks.
wjessup
366
19k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.4k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
We Have a Design System, Now What?
morganepeng
51
7.3k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.8k
Facilitating Awesome Meetings
lara
51
6.2k
jQuery: Nuts, Bolts and Bling
dougneiner
62
7.6k
Transcript
"QSUI ಉظ-5ձ 4IJOUBSP*LFEB श׳తʹΓ͍ͨ͜ͱΛखॿ͚ͯ͘͠ΕΔ-*/&ϘοτΛ࡞ͬͨ
·ͣσϞ
4ZTUFNPWFSWJFX .FTTBHF"1* #PUTFSWFS "1*TFSWFS
-*/&CPUCZ(PMBOHPO%PLLV PO͘͞Βͷ714
͘͞Βͷ714 αʔόΛཱͯΔ ϙʔτΛ։͚Δ ಠࣗυϝΠϯΛඥ͚Δ
%PLLVͱ HerokuޓͷOSSͳPaaS VPSͱ͔ࣗḉͱ͔ʹΠϯετʔϧͨ͠ΒԶͷPaaS HerokuʹσϓϩΠ͍ͯͨ͠ΞϓϦΛͦͷ··ҠߦͰ͖Δ Dockerίϯςφୡ͕ཪͰؤு͍ͬͯΔ Nginxίϯςφ ΞϓϦέʔγϣϯαʔόίϯςφ ศརͳϓϥάΠϯ͕༗ࢤʹͯ࡞͞Ε͍ͯΔ
'MPXGPSVTJOH%PLLV $ wget https://raw.githubusercontent.com/dokku/dokku/v0.11.6/bootstrap.sh $ sudo DOKKU_TAG=v0.11.6 bash bootstrap.sh *OTUBMM%PLLV
$ vi /home/dokku/.ssh/authorized_keys 4FU44)LFZ $SFBUFBQQ $ dokku apps:create myapp %FQMPZGSPNMPDBM1$ $ git remote add dokku
[email protected]
:myapp $ git push dokku master
%PLLVͷ)5514Խͯ͘͠ΕΔϓϥάΠϯ͕/JDF *OTUBMMEPLLVMFUTFODSZQUQMVHJO $ sudo dokku plugin:install https://github.com/dokku/dokku-letsencrypt.git "QQMZUPBQQ $ dokku
config:set --no-restart myapp
[email protected]
$ dokku letsencrypt myapp ͜Ε͚ͩͰ͋ͳͨͷΞϓϦ)5514ରԠ
-*/&ϘοτΛ࡞Δ LINEσϕϩού͕GoΛؚΉෳݴޠͷΫϥΠΞϯτϥΠϒϥ ϦΛఏڙ͍ͯ͠Δ APIͷϨϑΝϨϯε͕͓͠ΌΕͰͪΌΜͱ͍ͯ͠Δ V̋̋erͱେҧ͍ ͔͠͠։ൃ༻ΞΧϯτ50Ϣʔβʔ·Ͱ ຊ൪༻݄3ສԁҎ্͢Δ
ਓ։ൃ͚ͩͲ GitHubʹͯ ϒϥϯν͚ͯϓϧϦΫ ࣗͰϨϏϡʔίϝϯτ&Ϛʔδ ← ͕Ք͛Δʂ ୯ମςετΛ͢Δ DIͯ͠ϞοΫΛ͏ςετ CircleCIΛಋೖͪ͠ΌΜͱCI͔ͯ͠ΒϚʔδ ৄࡉιʔεͰ
https://github.com/momotaro98/yarana-bot
"1*CZ$PO"[VSF'VODUJPOT
"1*αʔό"[VSF'VODUJPOT Azure FunctionsαʔόϨεΞʔΩςΫνϟͷαʔϏε ίετͰεέʔϥϒϧͰEvent DrivenͳΞϓϦΛߏஙͰ͖Δ ֎෦ετϨʔδͱͷ࿈ܞ؆୯ APIఆٛʹSwaggerαϙʔτ
࢝ΊετϨʔδʹ"[VSFͷ/P42-Λ͍ͬͯͨͷ͕ͩ 50Ϩίʔυ͔ͭ110ϦΫΤετ͘Β͍ͩͬͨͷʹ1ϲ݄Ͱ͜ͷ͓ஈ Table StorageʹΓ͑ͨΒମײͦͷ··Ͱ1/50·ͰԼΓ => ΫϥυαʔϏεΛબͿͱ͖ͪΌΜͱۛຯ͠Α͏ʂʂ
'VUVSF Δ͜ͱΛฤूɾআ͢Δ༻ͷWEBը໘ ͬͨཤྺͷϨϙʔτػೳ CUI → GUI → ͦͯ͠VUI..
DPNJOHTPPO