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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
果物リン
May 22, 2017
Technology
460
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
HerokuでPHPとNodejsの併用
果物リン
May 22, 2017
More Decks by 果物リン
See All by 果物リン
ADDF - ループエンジニアリングするフレームワークを作ったら/I Didn't Set Out to Build Loop Engineering, But ADDF Did
fruitriin
0
84
AIに与える人間らしさを(略)したら600ページの同人誌になった/I kept thinking about making AI more human, more, more, more... wait, when did this become a 600-page doujinshi?
fruitriin
0
120
記憶を高速で思い出す全文検索パフォーマンス・チューニング テクニック/How to make your AI recall, quickly
fruitriin
0
91
入社半年で作った"社内でも使える"ツール集/Everything I Built on the Side in Half a Year
fruitriin
0
99
embodied記憶の依代 聖杯問答/ Vessel of Memory: The Grail Dialogue #embodied_llm
fruitriin
2
190
ClaudeCodeと遠くへいくためのパーミッションルール/Stop Checking, Start Trusting: Claude Code Permission Rules
fruitriin
0
71
Claude Codeと物忘れ / Invitation talk about context - Why Claude Code forget?
fruitriin
0
96
Claude Codeと2つの巻き戻し戦略 / Two Rewind Strategies with Claude Code
fruitriin
0
250
Electron+Vue+Swift=真のデスクトップアプリ / How to create "Really" desktop app using Electron
fruitriin
0
140
Other Decks in Technology
See All in Technology
Mastraエージェント、どのクラウドにデプロイする?
minorun365
PRO
2
160
MySQL & MySQL HeatWave Report - June 2026
freshdaz
0
310
金融の未来を考える / Thinking About the Future of Finance
ks91
PRO
0
150
Hatena Engineer Seminar 37 jj1uzh
jj1uzh
0
420
プライバシー保護の理論と実践
lycorptech_jp
PRO
1
240
SRE Lounge Hiroshimaへの招待
grimoh
0
150
勉強会企画をアプリで構造化してみた 〜そこで見えた、AIとの付き合い方〜 / I've structured a study group plan using an app.
pauli
0
310
cccccc
moznion
0
1.7k
グローバルチームと挑むプロダクト開発
sansantech
PRO
1
150
しぶいSRE: サーバから見えない障害にどう向き合うか。ラストワンマイルのデバッグ実践 / Shibui SRE
kanny
3
1.6k
フルカイテン株式会社 エンジニア向け採用資料
fullkaiten
0
11k
AIをフル活用してオンコール機能のプロトタイプを2日で作った話 / Building an AI-Powered On-Call Prototype in Just Two Days
nari_ex
0
180
Featured
See All Featured
Large-scale JavaScript Application Architecture
addyosmani
515
110k
Building AI with AI
inesmontani
PRO
1
1.1k
4 Signs Your Business is Dying
shpigford
187
22k
Designing Experiences People Love
moore
143
24k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
210
The Art of Programming - Codeland 2020
erikaheidi
57
14k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2k
The agentic SEO stack - context over prompts
schlessera
0
840
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.7k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.3k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.4k
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
͓·͚ɿਐḿ