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 - Git Push Deploy
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Yucheng Wang
May 18, 2015
Technology
0
60
Heroku - Git Push Deploy
Learn more about Heroku
Yucheng Wang
May 18, 2015
Tweet
Share
More Decks by Yucheng Wang
See All by Yucheng Wang
不會寫程式也可以 - 使用 Elementor + ACF 來客製化網站
ucheng
0
420
使用 Gutenberg 和 ACF Block 重新建置網站
ucheng
0
210
使用 ManageWP 來管理網站
ucheng
0
390
提升你的古騰堡編輯體驗 - EditorsKit 介紹
ucheng
0
280
使用 ProjectHuddle 來管理客戶需求和回饋
ucheng
3
380
網站客製化、除錯的好幫手 - Chrome Developer Tools 基本介紹
ucheng
0
990
基本網站安全防護
ucheng
1
140
使用 ACF Pro 打造客製化古騰堡區塊
ucheng
1
520
使用 Admin Menu Editor 打造簡單易用的後台
ucheng
0
190
Other Decks in Technology
See All in Technology
LINEアプリ開発のための Claude Code活用基盤の構築
lycorptech_jp
PRO
1
1.1k
インシデント対応入門
grimoh
7
5.6k
どこで打鍵するのが良い? IaCの実行基盤選定について
nrinetcom
PRO
2
100
Oracle Cloud Infrastructure:2026年2月度サービス・アップデート
oracle4engineer
PRO
0
100
【2026年版】生成AIによる情報システムへのインパクト
taka_aki
0
190
なぜAIは組織を速くしないのか 令和の腑分け
sugino
80
51k
【SLO】"多様な期待値" と向き合ってみた
z63d
2
270
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1.1k
Devinを導入したら予想外の人たちに好評だった
tomuro
0
610
生成AI活用によるPRレビュー改善の歩み
lycorptech_jp
PRO
4
1.7k
Claude Codeはレガシー移行でどこまで使えるのか?
ak2ie
1
1.1k
APMの世界から見るOpenTelemetryのTraceの世界 / OpenTelemetry in the Java
soudai
PRO
0
210
Featured
See All Featured
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
470
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
140
GitHub's CSS Performance
jonrohan
1032
470k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
380
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
117
110k
Become a Pro
speakerdeck
PRO
31
5.8k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
60
42k
From π to Pie charts
rasagy
0
140
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
250
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.9k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
140
Transcript
git push deploy PaaS TW Meetup #2 /her-OH-koo/
! PHP / WordPress Developer Rails newbie @uchengwang Ԧ₮ఔ Wang
Yu-Cheng http://spectator.do
How Heroku Works Twelve-Factor App
Get Start 1.Sign up 2.Install the Heroku Toolbelt 3.Create your
app
heroku local git push slug compiler slug launch dyno dyno
scale scale … stack stack Creative Commons – Attribution (CC BY 3.0) Box designed by Nono Martínez Alonso from the Noun Project compiled
None
Stack OS(ubuntu) language runtime libraries Buildpack config
None
You can run anything!
dyno • Isolated • Self-healing • Read-only • Stateless •
Recycle every 24hrs
Twelve-Factor App http://12factor.net scalability portability productivity
One codebase tracked in revision control, many deploys. I. Codebase
One codebase, one app
Explicitly declare and isolate dependencies II. Dependencies Gemfile =>dependency declaration
Bundle exec => dependency isolation
III. Config Store config in the environment An app’s config
is everything that is likely to vary between deploys (staging, production, developer environments, etc). Don’t check in to the codebase
IV. Backing Services Treat backing services as attached resources
IV. Backing Services con’t
V. Build, release, run Strictly separate build and run stages
VI. Processes stateless processes share-nothing processes
VII. Port binding Export services via port binding Containerless Add
web server by dependency declaration
VIII. Concurrency Scale out via the process model
IX. Disposability Fast startup Graceful shutdown
XI. Logs Treat logs as event streams Write logs to
file
X. Dev/prod parity Development = Staging = Production Time gap
Personal gap Tool gap Design for continuous deployment
XII. Admin processes Run admin/management tasks as one-off processes bundle
exec rake db:migrate
How about Docker?
Docker Heroku dockerfile buildpack image slug container dyno docker client
heroku client docker registry add-on http://tuhrig.de/docker-vs-heroku/
https://github.com/progrium/dokku
Spectator.do ಜࢹਓ http://spectator.do
None
Thanks for Listening @uchengwang http://spectator.do PaaS TW Meetup #2