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
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
400
使用 Gutenberg 和 ACF Block 重新建置網站
ucheng
0
190
使用 ManageWP 來管理網站
ucheng
0
380
提升你的古騰堡編輯體驗 - EditorsKit 介紹
ucheng
0
270
使用 ProjectHuddle 來管理客戶需求和回饋
ucheng
3
370
網站客製化、除錯的好幫手 - Chrome Developer Tools 基本介紹
ucheng
0
980
基本網站安全防護
ucheng
1
130
使用 ACF Pro 打造客製化古騰堡區塊
ucheng
1
510
使用 Admin Menu Editor 打造簡單易用的後台
ucheng
0
190
Other Decks in Technology
See All in Technology
株式会社ビザスク_AI__Engineering_Summit_Tokyo_2025_登壇資料.pdf
eikohashiba
1
120
[Data & AI Summit '25 Fall] AIでデータ活用を進化させる!Google Cloudで作るデータ活用の未来
kirimaru
0
4k
投資戦略を量産せよ 2 - マケデコセミナー(2025/12/26)
gamella
0
460
Amazon Connect アップデート! AIエージェントにMCPツールを設定してみた!
ysuzuki
0
140
AI駆動開発の実践とその未来
eltociear
2
500
Oracle Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
2
420
20251219 OpenIDファウンデーション・ジャパン紹介 / OpenID Foundation Japan Intro
oidfj
0
520
AgentCoreとStrandsで社内d払いナレッジボットを作った話
motojimayu
1
990
ESXi のAIOps だ!2025冬
unnowataru
0
390
ActiveJobUpdates
igaiga
1
330
Agent Skillsがハーネスの垣根を超える日
gotalab555
6
4.5k
AgentCore BrowserとClaude Codeスキルを活用した 『初手AI』を実現する業務自動化AIエージェント基盤
ruzia
7
1.6k
Featured
See All Featured
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
128
55k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
How Software Deployment tools have changed in the past 20 years
geshan
0
30k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
31
Game over? The fight for quality and originality in the time of robots
wayneb77
1
67
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.1k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
410
Documentation Writing (for coders)
carmenintech
77
5.2k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
31
Claude Code のすすめ
schroneko
67
210k
Facilitating Awesome Meetings
lara
57
6.7k
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