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
HerokuでPHPとNodejsの併用
Search
果物リン
May 22, 2017
Technology
0
450
HerokuでPHPとNodejsの併用
果物リン
May 22, 2017
Tweet
Share
More Decks by 果物リン
See All by 果物リン
Claude Codeと物忘れ / Invitation talk about context - Why Claude Code forget?
fruitriin
0
51
Claude Codeと2つの巻き戻し戦略 / Two Rewind Strategies with Claude Code
fruitriin
0
130
Electron+Vue+Swift=真のデスクトップアプリ / How to create "Really" desktop app using Electron
fruitriin
0
110
ある日オレオレフレームワークを作りたくなったぞ/Want to Create Oreore Framework
fruitriin
1
150
fishとfzfはじめて 豊かになりました / fish and fzf is good
fruitriin
1
930
Chrome Devtools使いこなしたい/I want to master devtool
fruitriin
3
1.5k
Event Stage - 真面目に作ったけど 全くウケなくてクソだったアプリ/I made new service but they say shit
fruitriin
0
180
読み上げチャット+映像配信サービス作ってるけど…/I develop Text-to-Speach chat and broadcast Savice but...
fruitriin
0
160
とある自社開発の苦楽の軌跡/Trajectory of a Certain In-house Development Effort
fruitriin
1
260
Other Decks in Technology
See All in Technology
日本の85%が使う公共SaaSは、どう育ったのか
taketakekaho
1
230
予期せぬコストの急増を障害のように扱う――「コスト版ポストモーテム」の導入とその後の改善
muziyoshiz
1
2k
Agile Leadership Summit Keynote 2026
m_seki
1
640
登壇駆動学習のすすめ — CfPのネタの見つけ方と書くときに意識していること
bicstone
3
120
Embedded SREの終わりを設計する 「なんとなく」から計画的な自立支援へ
sansantech
PRO
3
2.5k
~Everything as Codeを諦めない~ 後からCDK
mu7889yoon
3
430
SREが向き合う大規模リアーキテクチャ 〜信頼性とアジリティの両立〜
zepprix
0
460
Greatest Disaster Hits in Web Performance
guaca
0
270
Amazon S3 Vectorsを使って資格勉強用AIエージェントを構築してみた
usanchuu
3
450
Context Engineeringの取り組み
nutslove
0
360
Bill One急成長の舞台裏 開発組織が直面した失敗と教訓
sansantech
PRO
2
380
FinTech SREのAWSサービス活用/Leveraging AWS Services in FinTech SRE
maaaato
0
130
Featured
See All Featured
The browser strikes back
jonoalderson
0
390
SEO for Brand Visibility & Recognition
aleyda
0
4.2k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
450
We Are The Robots
honzajavorek
0
160
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
61
52k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.4k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
190
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
150
So, you think you're a good person
axbom
PRO
2
1.9k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
1
55
Transcript
HerokuͰPHPͱNode.jsͷซ༻ 2017.5.22 PHP BLT ՌϦϯ@FruitRiin
ࣗݾհ ՌϦϯ ࣄͰPHPerʢ̎ʣ ֶੜͷࠒ͔ΒझຯͰ͋Ε͜Ε PHP BLT 2ճʢॳొஃʂʣ ࣮ࠓੜ…
TwitterͰ;͊΅࣌ؒॱ͕Έ͍ͨʂ
͡Ό͋࡞Ζ͏ʂ
;͊΅࣌ؒΛAPI͕ฦ͞ͳ͍ʂ
UserStreamΛ͑ ͳΜͱ͔ͳΔ͔ʂ
͍͍Ͷʂ ;͊΅௨ DB ݟΕΔʂ
Herokuॳઓ σʔλϑϩʔతʹNode.jsͷ෦͔Β࣮։࢝ ͳΜͱͳͦ͘ΕͬΆ͍࣮Ͱ͖ͨʂ ࣍PHPΛ͍ͨ͠ɻˡ̎͘Β͍ϋϚΔ
HerokuطଘProjectʹPHPՃ HerokuͷDashbordͷ Settingsʹ͋ΔBuildpacksʹ PHPΛՃ composer.jsonΛ༻ҙͯ͠ composer update ProcfileʹҰखؒ
PHPͱNodeΛWebͱWorkerͰ Procfile ฤूʢͳ͚Ε࡞Δʣ commit ͯ͠ push͢ΔͱNodeͱPHP͕Ϗϧυˍىಈʂ
·ͱΊ BuildpacksͷՃHerokuͷμογϡϘʔυ͔Βʢॏཁʣ ˢҎલͰ͖ͳ͔ͬͨΒ͔ͯͦͬͪ͘͠Γͻ͔͔ͬΔ https://devcenter.heroku.com/articles/buildpacks ↑ͷPHPͷDocumentationΛݟΕશ෦ॻ͍ͯ͋Δorz
͓·͚ɿਐḿ