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
0
40
herokuでfacebookアプリを作ったお話
https://atnd.org/events/24416
Naoto Koshikawa
February 14, 2012
Tweet
Share
More Decks by Naoto Koshikawa
See All by Naoto Koshikawa
esaにJOINしてからやったこと2017(\( ⁰⊖⁰)/) / sendagayarb year‐end party 2017
ppworks
2
1.9k
許可を得る前にプルリクしよう/matrk08
ppworks
12
5.1k
Rubyエンジニアの採用戦略/recruiting ruby developers
ppworks
8
3.5k
ホネーマワード紀行
ppworks
1
3.3k
情報共有について 考えていたら 人生を振り返っていた 話
ppworks
0
81
WIP in GeeksNight
ppworks
0
54
Qiita meetup for MoneyForward
ppworks
0
60
おれおれWebサービスの開発~運用
ppworks
0
84
pplog
ppworks
0
53
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
28
2.1k
Making the Leap to Tech Lead
cromwellryan
133
9k
4 Signs Your Business is Dying
shpigford
181
21k
Into the Great Unknown - MozCon
thekraken
33
1.5k
Being A Developer After 40
akosma
87
590k
Producing Creativity
orderedlist
PRO
341
39k
How To Stay Up To Date on Web Technology
chriscoyier
789
250k
The Cult of Friendly URLs
andyhume
78
6.1k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.1k
Building an army of robots
kneath
302
44k
Building Adaptive Systems
keathley
38
2.3k
Designing Experiences People Love
moore
138
23k
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