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でfacebookアプリを作ったお話
Search
Naoto Koshikawa
February 14, 2012
56
0
Share
herokuでfacebookアプリを作ったお話
https://atnd.org/events/24416
Naoto Koshikawa
February 14, 2012
More Decks by Naoto Koshikawa
See All by Naoto Koshikawa
esaにJOINしてからやったこと2017(\( ⁰⊖⁰)/) / sendagayarb year‐end party 2017
ppworks
2
2.1k
許可を得る前にプルリクしよう/matrk08
ppworks
12
5.5k
Rubyエンジニアの採用戦略/recruiting ruby developers
ppworks
8
3.7k
ホネーマワード紀行
ppworks
1
3.6k
情報共有について 考えていたら 人生を振り返っていた 話
ppworks
0
130
WIP in GeeksNight
ppworks
0
77
Qiita meetup for MoneyForward
ppworks
0
87
おれおれWebサービスの開発~運用
ppworks
0
140
pplog
ppworks
0
80
Featured
See All Featured
Large-scale JavaScript Application Architecture
addyosmani
515
110k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
320
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.2k
Skip the Path - Find Your Career Trail
mkilby
1
93
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
98
From π to Pie charts
rasagy
0
160
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.8k
We Have a Design System, Now What?
morganepeng
55
8.1k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
170
Producing Creativity
orderedlist
PRO
348
40k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
240
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.2k
Transcript
herokuͰfacebookΞϓϦΛ ࡞͓ͬͨ @ppworks Naoto Koshikawa
ॴଐ • 2011.7͔ΒגࣜձࣾίωΫτελʔ
߹॓͠·ͨ͠
߹॓Ͱͭͬͨͭ͘
mobile൛͋ΔΑ
herokuͰ࡞Γ·ͨ͠
·ͣ
railsͰؤுͬͯ࡞Δʂ
None
gem • heroku • omniauth • omniauth-facebook • fb_graph •
devise • ͱ͔
heroku create --stack cedar kaopression
ಠࣗυϝΠϯͰΔ
DNSͷઃఆ http://devcenter.heroku.com/articles/custom- domains#dns_setup 75.101.163.44 75.101.145.87 174.129.212.2
heroku addons:add custom_domains heroku domains:add kaopression.com
ϩάΛtail͍ͨ͠
heroku addons:upgrade logging:expanded
ڥมΛηοτ
heroku config:add FB_APP_ID={APP_ID} FB_APP_SECRET={APP_SECRET}
module FacebookConfig def self.app_id ENV["FB_APP_ID"] end def self.app_secret ENV["FB_APP_SECRET"] end
end
ϦϦʔεʂ
heroku maintenance:on git push heroku master heroku run rake db:migrate
heroku run rake db:seed heroku maintenance:off
·Γ͕ͪͳ͜ͱ • ແྉͰDB͕PostgreSQLͳͷͰɺ MySQLͷؾ࣋ͪͰډΔͱϋϚΔ • ݸਓͷΞΧϯτͱձࣾͷΞΧϯ τΛผʑʹ͍͚ͨ͠Ͳɺ͙͵͵ • rubyͷversion͕Ͳ͏ͷ͜͏ͷ ͲΜͳstack͑Δ͔Λௐ͓ͯ͘
࣮ࡍ࡞Δ http://ppworks.hatenablog.jp/entry/ 2012/02/14/124612 هࣄΛॻ͍͓͍ͯͨͷͰ ڵຯ͕͋Δํ͓ಡΈ͍ͩ͘͞ɻ
એ http://welove.herokuapp.com