Upgrade to Pro — share decks privately, control downloads, hide ads and more …

おれおれWebサービスの開発~運用

 おれおれWebサービスの開発~運用

40961ce2e3a7035867843b520000e5b3?s=128

Naoto Koshikawa

November 16, 2014
Tweet

Transcript

  1. ͓Ε͓ΕWebαʔϏ εͷ։ൃʙӡ༻

  2. Koshikawa Naoto ! ppworks " ppworks # pblog $ p4d,

    sendagaya.rb
  3. &YDFM7#" 1FSM 1)1 "4 1FSM "4 1)1 "4 1)1 "4

    3VCZ 0CK$ 3VCZ 0CK$ 3VCZ 0CK$
  4. blog

  5. Sendagaya.rb • @fukajun ͞Μͱ2012೥5݄ʹ։࢝ • 2012೥ͷͲ͔͜Ͱ@tkawa͞Μ͕ओ࠵ʹՃΘΔ • 2012೥຤@kuranuki͞Μʹݺͼग़͞ΕΔ • ʮϢʔͨͪձࣾ࢝ΊͨΒʁʯ=>

    @ppworks & @tkawaͰ genuineblueىۀ • sendagaya.rb͸2013೥8݄ʹ@tkawa & @fukajunʹҾ͖ܧ ͗
  6. ࣗݾ঺հ͸͜͜·Ͱ

  7. We love Heroku

  8. None
  9. None
  10. None
  11. None
  12. None
  13. https://pplog.net

  14. Ͱ͖ͳ͍͜ͱ

  15. ͳΜͳͷ • ֤Ϣʔβʔ࠷৽ͷ1͚݅ͩදࣔ͞ΕΔblog • ࣗ෼͚ͩʹ͸աڈͷهࣄ͕ݟ͑Δ • ͸ͯͳελʔͷΑ͏ʹൣғΛબ୒ͯ͠ʮಡΜͩ Αʯग़དྷΔɻ • ϑΥϩʔͯ͠౤ߘ௨஌Λड͚औΕΔ


    ʢϑΥϩʔ͞Ε͍ͯΔ͜ͱ͸Θ͔Βͳ͍ʣ
  16. Team pplog @ppworks Ruby On RailsɺJavaScript @ken_c_lo ίϯηϓτσβΠϯɺσβΠϯ @satococoa iOS

    @fukayatsu Android @fakestarbaby ؅ཧը໘
  17. pplog͔ΒֶͿ WebαʔϏεͷ࡞Γํ

  18. Ϟνϕʔγϣϯ • ๞͖Δલʹ࡞Δ • খ͘͞࡞Δ • ࠷ॳ͸௅ઓΛ͠ͳ͍ • খ͘͞௅ઓ͢Δ

  19. ԿΛ࡞Δ͔ • αʔϏεͷREADME = POEM • ͍ͭͰ΋ͦ͜ʹཱͪฦΖ͏ • ൑அج४͸ͦ͜ •

    ϐϘοτ = ROEMΛ࣠ʹ • ࢥ͍͖ͭͷํ਑స׵͸ϐϘοτ͡Όͳ͍
  20. ࢥ͍Λจষʹ͢Δ “ԶͨͪͷΏΔ;ΘΠϯλʔωοτʮpplogʯΛϦϦʔε͠·ͨ͠ʢͯ͠·ͨ͠ʣ”ΑΓ

  21. ୭ͱ࡞Δ͔ • ಉ͡ϨϕϧͰίϛοτग़དྷΔύʔτφʔ • αʔϏεʹର͢Δײ֮΍Ձ஋؍͕͍ۙ • ʮ૬खΛઆಘ͢Δඞཁ͕͋Δͱ͖ɺͦΕ͸ύʔ τφʔͳͷ͔ʁʯ • ޲͍͍ͯΔํ޲͕Ұॹͩͱ


    ҙࢥܾఆͷεϐʔυ͕͕͋Δ
  22. Ͳ͏࡞Δ͔ • ख׳Εͨಓ۩Λ༻͍ΔʢRailsɺherokuʣ
 ʮٕज़ݕূ͕͍ͨ͠ͷʁαʔϏεͷݕূ͕ͨ͠ ͍ΜͩΑͶʁʯ • ͍ͭ΋ͷ΍ΓํͰ • ࢓ࣄͱಉ͡ΫΦϦςΟ •

    खΛൈ͔ͳ͍ʢςετॻ͘ɺfeature testʣ
  23. ͍ͭ΋ͷ΍ͭ • railsςϯϓϨʔτͰ͸ͳ࣮͘ࡍʹಈ͍ͭ͘΋ͷ ϕʔεΞϓϦΛ࡞͓ͬͯ͘ • https://github.com/ppworks/rails4base • herokuͳΒଈϦϦʔεͰ͖Δ • bootstrapͳΒ࠷ॳ͔ΒͦΕΆ͘ͳΔ

  24. ͍ͭ΋ͷ΍Γ͔ͨ • ͍ͭ΋ͷwork flow • pull req։ൃ • WIPͳঢ়ଶͰ΋·ͣ͸pull req


    ʢੜࣽ͑ϓϧϦΫʣ • FIXME & FIXYOU • ͓٬͞ΜͱͦΕΛ࡞Δਓͱ͍͏
 ؔ܎ʹͳΒͳ͍
  25. 1೔Ͱ࡞Δ

  26. Ͳ͏࢖ͬͯ΋Β͏͔ • ࢖ͬͯ΋Β͏ͷͰ͸ͳ͘ɺ࢖͏ • Ϣʔβʔͷ੠ʹΑ͋͘ΔΞΠσΞͰ͸ͳ͘
 ԿΛղܾ͍ͨ͠ͷ͔ʁʹࣖΛ܏͚Δ • Ϣʔβʔ͸উखʹ૿͑Δ • αʔϏεͷཱࣗ

  27. Ͳ͏ҭͯΔ͔ • αʔϏεͷ੠Λฉ͘ • Ͳ͏ͳΓ͍͔ͨʁαʔϏεͷؾ࣋ͪʹͳͬͯߟ ͑Δ • ͜ͷࢠɺͲ͏ͯ͋͛͠Δͱخ͔͠ͳʁ • ࠷৽ͷgem࢖͍ͬͯΔͱتͿλΠϓʁ

  28. ༷ࢠΛݟΔ QQMPH ͯ͢ͱ

  29. ༷ࢠͷݟ͔ͨ • github௨஌ => ։ൃͷ༷ࢠ • heroku௨஌ => deployͷ༷ࢠ •

    errbit͔Βͷ௨஌ => Τϥʔͷ༷ࢠ • twitterΤΰαʔν(twist) => ධ൑ͷ༷ࢠ • ಛఆͷจࣈྻ౤ߘΛ؂ࢹ => Ϣʔβʔͷ༷ࢠ ͢΂ͯJEPCBUBʹྲྀ͍ͯ͠Δ
  30. αʔϏεͷٖਓԽ • TwitterͰαʔϏεͷதͷਓΞΧ΢ϯτΛ࡞Ζ͏ • தͷਓͷݸਓΞΧ΢ϯτͰதͷͻͱͿΒͳ͍ • ΤϯδχΞ͔Βͷෆ౎߹ใࠂʹΧοͱͳΒͳ͍ • ෆ౎߹͸͠Εͬͱ௚͢ •

    ো֐Ͱ߄ͯͳ͍ l8&#αʔϏεΛٖਓԽͯ͠ӡ༻͠Α͏zΑΓ
  31. @pplog_net • https://twitter.com/pplog_net • ϝϯςը໘ʹπΠʔτग़͓ͯ͘͠ͱศར

  32. GoodsΛ࡞Δ

  33. ޻෉͍ͯ͠Δ͜ͱ

  34. ը૾Ͱ͸ͳ͘WEB font

  35. heroku͸஗͍ʁ • ੩తϑΝΠϧΛCloud Frontʹ͓͘ • SQLʹؾΛ͚ͭΔ(Railsͱ͍͑Ͳ΋SQLಡ΋͏) • fragment cache(Railsͷcacheػೳ)

  36. Α͠Α͢͠Δ • WebαʔϏε͸ϤγϤγ͠ͳ͍ͱεωΔ • ఆظతͳbundle update • ѪΛ࣋ͬͯ઀͢Δ

  37. heroku add-ons

  38. ϚωλΠζ

  39. ( ˘ω˘)ţźō… (୞ࠓٳۀதͰ͢)

  40. None
  41. https://twitter.com/ppworks/status/469732680431452161