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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
果物リン
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
140
AIに与える人間らしさを(略)したら600ページの同人誌になった/I kept thinking about making AI more human, more, more, more... wait, when did this become a 600-page doujinshi?
fruitriin
0
140
記憶を高速で思い出す全文検索パフォーマンス・チューニング テクニック/How to make your AI recall, quickly
fruitriin
0
110
入社半年で作った"社内でも使える"ツール集/Everything I Built on the Side in Half a Year
fruitriin
0
120
embodied記憶の依代 聖杯問答/ Vessel of Memory: The Grail Dialogue #embodied_llm
fruitriin
2
210
ClaudeCodeと遠くへいくためのパーミッションルール/Stop Checking, Start Trusting: Claude Code Permission Rules
fruitriin
0
84
Claude Codeと物忘れ / Invitation talk about context - Why Claude Code forget?
fruitriin
0
100
Claude Codeと2つの巻き戻し戦略 / Two Rewind Strategies with Claude Code
fruitriin
0
270
Electron+Vue+Swift=真のデスクトップアプリ / How to create "Really" desktop app using Electron
fruitriin
0
150
Other Decks in Technology
See All in Technology
2027年のMetricKit
kantacky
0
130
My broken English still works: speaking at global OSS events
naruoga
0
120
AI時代のアウトプット――変わったこと、変わらないこと / Devsumi 2026 Kansai #devsumi
jnchito
0
340
【GCC2026】TrueHDRIを用いたルックデブ環境とライティングテクニック
bandainamcostudios
PRO
0
130
Model Studio CLI × Token Plan
maigo999
0
200
強化学習「理論」入門
enakai00
3
3.6k
作って理解するCoding Agent 〜フレームワークに頼らないピュア Python での実装〜
takapy
2
140
Bits Agent Builder の⼊⾨と活⽤事例
nulabinc
PRO
0
250
小粒でもパワフルなJS Runtime Antjsについて
comamoca
0
110
【GCC2026】鉄拳8でのVFX開発事例
bandainamcostudios
PRO
0
120
長期運営で肥大化したExcelマスターデータの解消に向けた移行事例
gree_tech
PRO
0
100
LLM Internals: 언어 모델의 계보와 알고리즘 진화 (2023~2026)
inureyes
PRO
1
800
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
Making the Leap to Tech Lead
cromwellryan
135
10k
Context Engineering - Making Every Token Count
addyosmani
9
1.1k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
66
57k
Agile that works and the tools we love
rasmusluckow
331
22k
Chasing Engaging Ingredients in Design
codingconduct
0
280
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
440
Leo the Paperboy
mayatellez
8
2.2k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
410
We Are The Robots
honzajavorek
0
300
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.5k
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
͓·͚ɿਐḿ