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でfacebookアプリを作ったお話
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Naoto Koshikawa
February 14, 2012
62
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
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.6k
Rubyエンジニアの採用戦略/recruiting ruby developers
ppworks
8
3.7k
ホネーマワード紀行
ppworks
1
3.7k
情報共有について 考えていたら 人生を振り返っていた 話
ppworks
0
130
WIP in GeeksNight
ppworks
0
83
Qiita meetup for MoneyForward
ppworks
0
98
おれおれWebサービスの開発~運用
ppworks
0
150
pplog
ppworks
0
90
Featured
See All Featured
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
590
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
Mobile First: as difficult as doing things right
swwweet
225
10k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
Building an army of robots
kneath
307
46k
Discover your Explorer Soul
emna__ayadi
2
1.3k
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
67
58k
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
420
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
280
Un-Boring Meetings
codingconduct
0
420
From π to Pie charts
rasagy
1
370
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