Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
heroku-intro.pdf
Search
k-ta-yamada
February 26, 2018
Programming
43
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
heroku-intro.pdf
https://github.com/k-ta-yamada/speaker-deck/blob/master/heroku-intro.md
k-ta-yamada
February 26, 2018
Other Decks in Programming
See All in Programming
残高管理から台帳サービスへの進化
artoy
1
200
The Rails Doctrine Decade
koic
2
590
KiroのSpecで「五目並べ」を作ってみる
satoshi256kbyte
1
380
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
610
機械に任せるテスト、人が見るテスト ⽣成AIで引き直した、運⽤保守フェーズの線引き
dske104
0
190
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Kaigi on Rails 2026, Tokyo, Japan
marcoroth
2
220
Workers Cache を知る
syumai
0
360
最近”作らせてる” ローカルAIアプリの話
akit37
0
470
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
180
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
420
Rでドレミ/Do-Re-Mi_with_R
florets1
0
130
Jetpack Compose Mechanisms
skydoves
3
820
Featured
See All Featured
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
The SEO Collaboration Effect
kristinabergwall1
1
590
Un-Boring Meetings
codingconduct
0
460
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
930
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1k
Building the Perfect Custom Keyboard
takai
2
910
The Art of Programming - Codeland 2020
erikaheidi
57
14k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
310
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
520
The untapped power of vector embeddings
frankvandijk
2
1.9k
The Spectacular Lies of Maps
axbom
PRO
1
1.1k
Transcript
Heroku 1
index what is Heroku? heroku apps:create heroku git:clone create app
bundle install & create app.rb make Proc le git commit & push => Deploy heroku apps:open 2
what is Heroku? https://www.heroku.com/home 3
heroku apps:create {app- name} 4
heroku git:clone heroku git:clone --app {app-name} or git clone https://git.heroku.com/{app-name}.git
5
create app (1/3) cd {app-name} # add sinatra gem bundle
init bundle install --path vendor/bundle bundle add sinatra # app.rb cat << EOF > app.rb require 'sinatra' get '/' do 'hello' end EOF 6
create app (2/3) # Procfile for heroku echo web: bundle
exec ruby app.rb -p $PORT > Procfile # start local bundle exec ruby app.rb # or `heroku local` start http://localhost:4567 http://localhost:4567 7
create app (3/3) # .gitignore echo .bundle/ >> .gitignore echo
vendor/ >> .gitignore # or `gibo ruby >> .gitignore` # git push git add . git ci -m first git push # open app heroku apps:open https://{app-name}.herokuapp.com/ 8
appendix Heroku CLI | Heroku Dev Center Getting Started on
Heroku | Heroku Dev Center 9
Heroku 10