SlideShare ist ein Scribd-Unternehmen logo
1 von 16
Downloaden Sie, um offline zu lesen
Gemoire䛸䛔䛖YARD䝩䝇䝔䜱䞁䜾 
䜰䝥䝸䜢స䛳䛯 
Copyright Drecom Co., Ltd. All Rights Reserved. 
@sue445 
2014/10/15 Shibuya.rb
⮬ᕫ⤂௓ 
sue445 
● drecom 
○ ♫ෆ䝒䞊䝹䛸䛛♫ෆ䝷䜲䝤䝷䝸䛸䛛 
● RubyKaja 
● TDD䝬䝙䜰䛺䜻䝳䜰䜶䞁䝆䝙䜰 
Copyright Drecom Co., Ltd. All Rights Reserved.
௒ᮇ䛾᎑䠖䜻䝳䜰䝝䝙䞊 
Copyright Drecom Co., Ltd. All Rights Reserved.
ᮏጔ䠖䜻䝳䜰䝢䞊䝇 
Copyright Drecom Co., Ltd. All Rights Reserved.
Agenda 
● స䛳䛯⫼ᬒ 
● 䜰䝥䝸䛾⤂௓ 
Copyright Drecom Co., Ltd. All Rights Reserved.
స䛳䛯⫼ᬒ 
Copyright Drecom Co., Ltd. All Rights Reserved.
స䛳䛯⫼ᬒ 
● ᘢ♫䛿䜹䝆䝳䜰䝹䛻♫ෆgem䛜స䜙䜜䜛ᩥ໬ 
○ http://rubykaigi.org/2014/presentation/S-TakumiMiura 
○ ♫ෆgem100ಶ䛟䜙䛔 
● ᡭ㍍䛻♫ෆgem䛾䝗䜻䝳䝯䞁䝖䜢බ㛤䛷䛝䜛ሙᡤ䛜ḧ䛧䛛䛳 
䛯 
○ RubyDoc.info( http://rubydoc.info/ )䛾♫ෆ∧䜏䛯䛔䛺 
䜒䛾 
Copyright Drecom Co., Ltd. All Rights Reserved. 
gitのパスを入力するだけでド 
キュメントを公開できる
䛺䛔䛺䜙స䜝䛖 
Copyright Drecom Co., Ltd. All Rights Reserved.
Jenkins䛷䛔䛔䛨䜓䜣䠛 
● 䜰䝥䝸䛤䛸䛻㔝ⰋJenkins䛜஘❧䛧䛶䜛䛾䛷඲♫ᒎ㛤䛧䛵䜙 
䛔 
○ 䛹䛾䜰䝥䝸䛻䜒ᒓ䛥䛺䛔gem䛾䝷䜲䝤䝷䝸䜢බ㛤䛩䜛䛻䛿 
ྥ䛔䛶䛺䛔 
● 䝗䜻䝳䝯䞁䝖స䜛䛰䛡䛷Jenkins౑䛖䛾䛿኱䛢䛥 
○ ಶู䛻䝆䝵䝤䛾タᐃ䛩䜛䛾䛜ᡭ㛫 
● 䝗䜻䝳䝯䞁䝖⏕ᡂ䛾䛯䜑䛰䛡䛻gem䛾dependency䛻yard䜢 
㏣ຍ䛩䜛䛾䜒㐪࿴ឤ䛜䛒䜛 
Copyright Drecom Co., Ltd. All Rights Reserved.
䜰䝥䝸䛾⤂௓ 
Copyright Drecom Co., Ltd. All Rights Reserved.
䜰䝥䝸䛾⤂௓ 
Gemoire䠄䝆䜵䝰䝽䞊䝹䠅 
https://github.com/sue445/gemoire 
http://gemoire.herokuapp.com/ 
Copyright Drecom Co., Ltd. All Rights Reserved.
඲యീ 
1. push 2. webhook 
Copyright Drecom Co., Ltd. All Rights Reserved. 
Gemoire 
YARD 
doc 
3. clone 
5. browsing 
4. generate
Gemoire 
Copyright Drecom Co., Ltd. All Rights Reserved. 
gitのパスを入力するだけでド 
キュメントを公開できる
Gemoire 
● ྡ๓䛾⏤᮶䛿Gem + Grimoire(㨱ᑟ᭩) 
○ gem䛾ྲྀᢅㄝ᫂᭩䜢㞟䜑䛯ⓗ䛺ឤ䛨 
○ 䝆䜵䝮 + 䜾䝸䝰䝽䞊䝹 = 䝆䜵䝰䝽䞊䝹 
● gem䛾YARD䝗䜻䝳䝯䞁䝖䜢ᡭ㍍䛻බ㛤䛩䜛䛯䜑䛾䜰䝥䝸 
● git䛾URLⓏ㘓䛩䜛䛰䛡䛷຾ᡭ䛻䝗䜻䝳䝯䞁䝖⏕ᡂ 
● Ruby 2.1.3 + Padrino 0.12.3 + activerecord 4.1.6 ㎶䜚 
○ ึ䜑䛶Pardino䛷䜰䝥䝸䜢స䜚䛝䛳䛯䡓 
● Heroku deploy button䛜౽฼䛺䛾䛷heroku䛻䜒䝕䝥䝻䜲䛧䛶䜛 
䛡䛹䚸䝃䞊䝞䛻clone䛧䛶౑䛖䛣䛸䜢᝿ᐃ 
Copyright Drecom Co., Ltd. All Rights Reserved.
⣽䛛䛔௙ᵝ 
● 䝩䝇䝔䜱䞁䜾䝃䜲䝖䛻౫Ꮡ䛧䛶䛔䜛䛾䛿webhook䛰䛡䛺䛾 
䛷䚸git clone䛷䛝䜛URL䛷䛒䜜䜀඲㒊౑䛘䜛 
○ http://ࠥ.git 
○ https://ࠥ.git 
○ git://ࠥ.git 
○ ssh://ࠥ.git (ู㏵බ㛤㘽䛾Ⓩ㘓䛜ᚲせ) 
● DB䛿MySQL, PostgreSQL, sqlite3䛻ᑐᛂ 
● git clone䛧䛶䝗䜻䝳䝯䞁䝖⏕ᡂ䛩䜛䛾䛿sidekiq౑䛳䛶㠀ྠᮇ 
ᐇ⾜ 
Copyright Drecom Co., Ltd. All Rights Reserved.
ཧ⪃䝸䞁䜽 
● Github䜶䝁䝅䝇䝔䝮䜢ά⏝䛧䛯䜲䝬䝗䜻䛾㊃࿡㛤Ⓨ 
○ http://sue445.hatenablog. 
com/entry/2014/09/24/200624 
● Gemoire䛸䛔䛖YARD䝩䝇䝔䜱䞁䜾䜰䝥䝸䜢స䜚䜎䛧䛯 
○ http://sue445.hatenablog. 
com/entry/2014/09/29/115504 
Copyright Drecom Co., Ltd. All Rights Reserved.

Weitere ähnliche Inhalte

Andere mochten auch

Sinatraでwebアプリケーション開発を学ぶ
Sinatraでwebアプリケーション開発を学ぶSinatraでwebアプリケーション開発を学ぶ
Sinatraでwebアプリケーション開発を学ぶ
Hiroshi Oyamada
 

Andere mochten auch (8)

社内テストファースト勉強会
社内テストファースト勉強会社内テストファースト勉強会
社内テストファースト勉強会
 
pixivのインフラになって2ヶ月がたった - NSEG feat. 高専カンファレンス
pixivのインフラになって2ヶ月がたった - NSEG feat. 高専カンファレンスpixivのインフラになって2ヶ月がたった - NSEG feat. 高専カンファレンス
pixivのインフラになって2ヶ月がたった - NSEG feat. 高専カンファレンス
 
Resemaraを支えた技術 フライングゲットガチャの舞台裏 #ksgstudy #ドリコム
Resemaraを支えた技術 フライングゲットガチャの舞台裏 #ksgstudy #ドリコムResemaraを支えた技術 フライングゲットガチャの舞台裏 #ksgstudy #ドリコム
Resemaraを支えた技術 フライングゲットガチャの舞台裏 #ksgstudy #ドリコム
 
ドリコムのインフラCI
ドリコムのインフラCIドリコムのインフラCI
ドリコムのインフラCI
 
Sinatraでwebアプリケーション開発を学ぶ
Sinatraでwebアプリケーション開発を学ぶSinatraでwebアプリケーション開発を学ぶ
Sinatraでwebアプリケーション開発を学ぶ
 
インフラ構築とテストについて(ITインフラ業務自動化現状確認会)
インフラ構築とテストについて(ITインフラ業務自動化現状確認会)インフラ構築とテストについて(ITインフラ業務自動化現状確認会)
インフラ構築とテストについて(ITインフラ業務自動化現状確認会)
 
itamae + Serverspecで テスト駆動インフラやってみた #shibuyarb
itamae + Serverspecで テスト駆動インフラやってみた #shibuyarbitamae + Serverspecで テスト駆動インフラやってみた #shibuyarb
itamae + Serverspecで テスト駆動インフラやってみた #shibuyarb
 
ドリコムを支える課金ライブラリを支えるJenkins
ドリコムを支える課金ライブラリを支えるJenkinsドリコムを支える課金ライブラリを支えるJenkins
ドリコムを支える課金ライブラリを支えるJenkins
 

Ähnlich wie GemoireというYARDホスティングアプリを作った #shibuyarb

Ähnlich wie GemoireというYARDホスティングアプリを作った #shibuyarb (10)

CentOS 7 入門
CentOS 7 入門CentOS 7 入門
CentOS 7 入門
 
Zenschoolテキスト(一般公開版)20140914
Zenschoolテキスト(一般公開版)20140914Zenschoolテキスト(一般公開版)20140914
Zenschoolテキスト(一般公開版)20140914
 
Shizuoka.py #4 pythonで設定ファイルを使う 質疑と資料について追記版
Shizuoka.py #4 pythonで設定ファイルを使う 質疑と資料について追記版Shizuoka.py #4 pythonで設定ファイルを使う 質疑と資料について追記版
Shizuoka.py #4 pythonで設定ファイルを使う 質疑と資料について追記版
 
Grnxx 2014-11-29
Grnxx 2014-11-29Grnxx 2014-11-29
Grnxx 2014-11-29
 
IaaS業界激変の背景
IaaS業界激変の背景IaaS業界激変の背景
IaaS業界激変の背景
 
東南アジアでエンジニア
東南アジアでエンジニア東南アジアでエンジニア
東南アジアでエンジニア
 
Gorm
GormGorm
Gorm
 
Tech is IT Day 2009 - PDF Version
Tech is IT Day 2009 - PDF VersionTech is IT Day 2009 - PDF Version
Tech is IT Day 2009 - PDF Version
 
ごみカレンダー
ごみカレンダーごみカレンダー
ごみカレンダー
 
行銷思維 Marketing Thinking: A check list to design basic marketing campaign.
行銷思維 Marketing Thinking: A check list to design basic marketing campaign.行銷思維 Marketing Thinking: A check list to design basic marketing campaign.
行銷思維 Marketing Thinking: A check list to design basic marketing campaign.
 

Mehr von Go Sueyoshi (a.k.a sue445)

サザエ実況を支える技術 #sst_history
サザエ実況を支える技術 #sst_historyサザエ実況を支える技術 #sst_history
サザエ実況を支える技術 #sst_history
Go Sueyoshi (a.k.a sue445)
 

Mehr von Go Sueyoshi (a.k.a sue445) (15)

社内ツールが支えるドリコムの社内勉強会文化 #metabenkyokai
社内ツールが支えるドリコムの社内勉強会文化 #metabenkyokai社内ツールが支えるドリコムの社内勉強会文化 #metabenkyokai
社内ツールが支えるドリコムの社内勉強会文化 #metabenkyokai
 
gemの複数バージョンカジュアルテスト #shibuyarb
gemの複数バージョンカジュアルテスト #shibuyarbgemの複数バージョンカジュアルテスト #shibuyarb
gemの複数バージョンカジュアルテスト #shibuyarb
 
プリキュアのRuby実装の紹介 (2015 ver) #MeguroStartup
プリキュアのRuby実装の紹介 (2015 ver)  #MeguroStartupプリキュアのRuby実装の紹介 (2015 ver)  #MeguroStartup
プリキュアのRuby実装の紹介 (2015 ver) #MeguroStartup
 
サザエ実況を支える技術 #sst_history
サザエ実況を支える技術 #sst_historyサザエ実況を支える技術 #sst_history
サザエ実況を支える技術 #sst_history
 
プリキュアハッカソン2 参加者アンケート集計結果 #cure_hack
プリキュアハッカソン2 参加者アンケート集計結果 #cure_hackプリキュアハッカソン2 参加者アンケート集計結果 #cure_hack
プリキュアハッカソン2 参加者アンケート集計結果 #cure_hack
 
JavaScript TDD紹介 #agilesamurai
JavaScript TDD紹介 #agilesamuraiJavaScript TDD紹介 #agilesamurai
JavaScript TDD紹介 #agilesamurai
 
First step of Rails Contribute‎ #shibuyarb
First step of Rails Contribute‎ #shibuyarbFirst step of Rails Contribute‎ #shibuyarb
First step of Rails Contribute‎ #shibuyarb
 
勉強会を始めるまで #java_ja
勉強会を始めるまで #java_ja勉強会を始めるまで #java_ja
勉強会を始めるまで #java_ja
 
RSpec Performance Turning
RSpec Performance TurningRSpec Performance Turning
RSpec Performance Turning
 
アニメ実況実践入門
アニメ実況実践入門アニメ実況実践入門
アニメ実況実践入門
 
技術書へのいざない
技術書へのいざない技術書へのいざない
技術書へのいざない
 
ドリコムJenkins勉強会資料
ドリコムJenkins勉強会資料ドリコムJenkins勉強会資料
ドリコムJenkins勉強会資料
 
Sue445 Style TDD #atest_hack
Sue445 Style TDD #atest_hackSue445 Style TDD #atest_hack
Sue445 Style TDD #atest_hack
 
AZusaar!でのappengine活用事例 #ajn19
AZusaar!でのappengine活用事例 #ajn19AZusaar!でのappengine活用事例 #ajn19
AZusaar!でのappengine活用事例 #ajn19
 
appengine活用事例資料@TDDBC札幌2.1
appengine活用事例資料@TDDBC札幌2.1appengine活用事例資料@TDDBC札幌2.1
appengine活用事例資料@TDDBC札幌2.1
 

Kürzlich hochgeladen

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 

Kürzlich hochgeladen (20)

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Ransomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdfRansomware_Q4_2023. The report. [EN].pdf
Ransomware_Q4_2023. The report. [EN].pdf
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
CNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In PakistanCNIC Information System with Pakdata Cf In Pakistan
CNIC Information System with Pakdata Cf In Pakistan
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 

GemoireというYARDホスティングアプリを作った #shibuyarb