Days with Heroku

Post on 11-May-2015

3.033 views 0 download

Tags:

description

「Heroku-ja Meetup #1」のトークhttp://atnd.org/events/17223

Transcript of Days with Heroku

@june29Days with Heroku

@june29

よろしくお願いします!

Days with Heroku

#rk11advent

#rk11advent

実行委員@june29

よろしくお願いします!

@june29Days with Heroku

Heroku and Me

2008年6月の出会い 第一印象 ブラウザで動くIDE git ではなくて tar.gz で 発音について

Heroku and Me

http://webos-goodies.jp/archives/51287729.html

Heroku and Me

2008年6月の出会い 第一印象 ブラウザで動くIDE git ではなくて tar.gz で 発音について

Heroku and Me

個人で使う内緒アプリから チームで使う共用ツールも お仕事で作ったアプリまで

Heroku and Me

個人で使う内緒アプリから チームで使う共用ツールも お仕事で作ったアプリまで

現在20個ほどのアプリを

My Apps

http2irc presentation iReblog

Our Apps

I’m Jun OHWADA

実行委員 ものづくりとWeb Rails / Sinatra

連載中!

実行委員@june29

よろしくお願いします!

Days with Heroku@june29

Our Apps

Wanna5

http://wanna5.com/

Our work !ow

Developer Product Owner(Staging)

(Production)

Our work !ow

Developer Product Owner(Staging)

(Production)

Feature Request

(1)

Our work !ow

Developer Product Owner(Staging)

(Production)

Assignment

(2)

Our work !ow

Developer Product Owner(Staging)

(Production)

Deploy

(3)

Our work !ow

Developer Product Owner(Staging)

(Production)

Check

(4)

Our work !ow

Developer Product Owner(Staging)

(Production)

Accept or Reject

(5)

Our work !ow

Developer Product Owner(Staging)

(Production)

Release

Push

(6)

Check

Our work !ow

Developer Product Owner(Staging)

(Production)

Our work !ow

Developer Product Owner(Staging)

(Production)

New Feature Demo!

Our work !ow

Developer Product Owner(Staging)

(Production)

New Feature Demo!(Demo)

Deploy

Our work !ow

Developer Product Owner(Staging)

(Production)

Heroku brings

Developer Product Owner(Staging)

(Production)

Developer Product Owner(Staging)

(Production)

Heroku brings

Developer Product Owner(Staging)

(Production)

Acceleration!

Heroku brings

Developer Product Owner(Staging)

(Production)

Acceleration!

Heroku brings

@june29Days with Heroku

Practices

Herokuと Railsに まつわるエトセトラ

Practices - con"g.yml

$ heroku config:add KEY=VALUE

Practices - con"g.yml

config_path = "config/config.yml"configatron.configure_from_yaml(config_path)

if configatron.twitter.consumer_key.nil? configatron.twitter.consumer_key = ENV['TWITTER_CONSUMER_KEY']end

if configatron.twitter.consumer_secret.nil? configatron.twitter.consumer_secret = ENV['TWITTER_CONSUMER_SECRET']end

initializer script

case Notwife

Practices - con"g.yml

config_path = ['config/config', ENV['SERVER_CONFIG'], 'yml'].compact.join('.')

unless File.exists? config_path raise "Can't find config file: #{config_path}"end

configatron.configure_from_yaml(config_path)

initializer script

case Wanna5

Our work !ow

Developer Product Owner(Staging)

(Production)

New Feature Demo!(Demo)

Deploy

Practices - con"g.yml

$ heroku create demoapp

$ heroku config:add SERVER_CONFIG=staging

今まで作成した

アプリの数を

PAAAAAA

AAAAAAA

AAAAAAS

Practices - con"g.yml

twitter: consumer_key: consumer_key consumer_secret: consumer_secretbasic_authentication: username: username password: password

config.staging.yml

case Wanna5

Practices - dynocase Wanna5

Practices - Add-ons

Custom Domain Logging New Relic PG Backups

case Wanna5

@june29Days with Heroku

Conclusion

Herokuが大好きです アプリをつくりましょう 皆さんのお話を聴きたい!

@june29ご清聴ありがとうございました