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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Yucheng Wang
May 18, 2015
Technology
73
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Heroku - Git Push Deploy
Learn more about Heroku
Yucheng Wang
May 18, 2015
More Decks by Yucheng Wang
See All by Yucheng Wang
不會寫程式也可以 - 使用 Elementor + ACF 來客製化網站
ucheng
0
440
使用 Gutenberg 和 ACF Block 重新建置網站
ucheng
0
240
使用 ManageWP 來管理網站
ucheng
0
430
提升你的古騰堡編輯體驗 - EditorsKit 介紹
ucheng
0
320
使用 ProjectHuddle 來管理客戶需求和回饋
ucheng
3
430
網站客製化、除錯的好幫手 - Chrome Developer Tools 基本介紹
ucheng
0
1k
基本網站安全防護
ucheng
1
160
使用 ACF Pro 打造客製化古騰堡區塊
ucheng
1
570
使用 Admin Menu Editor 打造簡單易用的後台
ucheng
0
220
Other Decks in Technology
See All in Technology
関東Kaggler会発表資料
takoi
1
250
名刺メーカーDevグループ 紹介資料
sansan33
PRO
0
1.2k
Genie Codeハンズオン応用編
taka_aki
0
120
PLATEAU で バーチャル花火大会
tatsuya1970
0
170
Goでデータパイプラインを作ろう
sansantech
PRO
1
500
強化学習「理論」入門
enakai00
3
3.6k
QAエンジニア起点で進める、SmartHRにおける信頼性向上について
kaomi_wombat
1
150
AI-DLC実践録_フルサイクル開発への挑戦
miyuc
0
240
35分でわかるEffective Platform Engineering
nwiizo
3
320
制約理論(ToC)入門 2026版
recruitengineers
PRO
8
2.5k
事業価値と Engineering 2026年度版
recruitengineers
PRO
51
25k
『三匹の子ぶた』から学ぶネットワークセキュリティの昔と今 / Network Security: Then and Now Through the Lens of The Three Little Pigs
nttcom
1
6.2k
Featured
See All Featured
Claude Code のすすめ
schroneko
67
230k
Mobile First: as difficult as doing things right
swwweet
225
10k
Test your architecture with Archunit
thirion
1
2.3k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6k
Speed Design
sergeychernyshev
33
2k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
1
490
It's Worth the Effort
3n
188
29k
Automating Front-end Workflow
addyosmani
1369
210k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Exploring anti-patterns in Rails
aemeredith
3
470
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