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
開発合宿@京都 /hack-camp-kyoto
Search
kentana20
August 13, 2016
Programming
4.3k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
開発合宿@京都 /hack-camp-kyoto
京都で開催した開発合宿の成果発表資料です
kentana20
August 13, 2016
More Decks by kentana20
See All by kentana20
一休.comでの開発組織改善の取り組みとこれから /improve-ikyu-devlove-x
kensuketanaka
24
37k
株式会社一休 会社紹介資料 / introduce-ikyu
kensuketanaka
15
150k
一休での開発における改善の取組み /devops-at-ikyu
kensuketanaka
13
10k
一休.com における改善事例のご紹介 /ikyu-storage-improvement
kensuketanaka
6
12k
一休.comにおけるデプロイフローと自動化 /ikyu-deploy-flow
kensuketanaka
9
9.2k
ikyu-frontend
kensuketanaka
21
7.4k
sushi_route_2015
kensuketanaka
0
290
qiita meetup#12
kensuketanaka
4
72k
cross_2015_trave_ec
kensuketanaka
1
3.6k
Other Decks in Programming
See All in Programming
プロジェクトコードをキレイキレイしよう!暗黙的な参照を読み解く静的解析
ostk0069
0
210
SFCで実現する病院・医療システムの動的組み立て式UI
koukimiura
1
170
PumaからFalconに移行したRailsアプリケーションでの実践
falcon8823
0
370
느린 네트워크와 저사양 디바이스 사용자를 위한 웹뷰 로딩 시간 개선기
kmkim
1
220
高橋メソッドでCVE解説シリーズ 〜CVE-2026-112816〜
hakkadaikon
0
230
Event is what happens
moro
2
4k
エージェントを使い続けるためのメタワーク / Meta-work for keeping using the agent
rkaga
6
2.2k
protojson における文字化けの扱い
kazuki1023
0
210
AI時代のIaC入門 〜なぜインフラをコードで管理したいのか?〜 / Introduction to IaC in the AI Era
akihisaikeda
6
1.4k
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
200
Web Framework Benchmark Battle 2026, Any%
a_matsuda
3
3.2k
Lambda durable functionsでHuman in the Loopを楽に…楽に……
har1101
2
290
Featured
See All Featured
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
600
Side Projects
sachag
456
43k
Being A Developer After 40
akosma
PRO
92
590k
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
The agentic SEO stack - context over prompts
schlessera
0
1k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
2
390
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.4k
Making Projects Easy
brettharned
120
6.9k
From Legacy to Launchpad: Building Startup-Ready Communities
dugsong
0
370
Transcript
։ൃ߹॓Ռൃද ݹయ෦ ݉ ͔Δͨ෦ @kentana20
Agenda • ߹॓Ͱͷඪ • ͬͨ͜ͱ • σϞ • ·ͱΊ
߹॓Ͱͷඪ • ࣗࣾϖʔδΛMiddlemanԽͯ͠Ϟμϯʹ • ژΛָ͠Ή • ͪ;ΔΛ؍Δ • ʹߦ͘
Middleman • Rubyͷ੩తαΠτδΣωϨʔλ • ςϯϓϨʔτΤϯδϯ • ։ൃ༻αʔόʹͳΔ • ෦ςϯϓϨʔτ͑Δ •
ྨࣅ: Jekyll, HUGO
ࣗࣾϖʔδ
എܠ • ࣗࣾϖʔδ( http://www.ikyu.co.jp )ͷӡ༻ ੜͷHTMLΛ࡞ͬͯमਖ਼͍ͯͨ͠ • ϖʔδͷߋ৽FTPͰπϥ͍ • ྨࣅϖʔδίϐϖͰ
എܠ2 • ͱ͋Δͷձ • @naoya ʮ࠾༻ϖʔδͬͯͲ͏ͬͯϝϯςͯ͠Δͷʁʯ • @kentana20 ʮFTPͰμϯϩʔυͯ͠मਖ਼ͯ͠ΞοϓͰ͢Ͷʯ •
@naoya ʮͦΕπϥ͍ɻ͏ͪΐͬͱϚγʹ͍ͨ͠Ͷʯ • @kentana20 ʮͰ͢Ͷʯ • @naoya ʮMiddlemanͱ͔͓͏Αʯ • @kentana20 ʮ;Ή;Ήʯ
ελʔτ • Middleman৮ͬͨ͜ͱͳ͍ • Railsܦݧ͋Δ • ࣗࣾϖʔδͷFTPΞΧϯτ࣋ͬͯΔ
ಋೖͱॳظԽ $ gem install middleman $ middleman init ikyucorp
Ϗϧυ $ middleman build
αʔόىಈ $ middleman server
σΟϨΫτϦߏ ੜ͞ΕΔ ੩తϑΝΠϧbuildԼʹ Ϗϧυલͷerb, sassϑΝ ΠϧͳͲsourceԼʹ
ศརͳ#1 • ෦ςϯϓϨʔτ • ϔομɺϑολͳͲڞ௨෦Λ෦Խ • ෦ςϯϓϨʔτͷม͠(locals)Մೳ <%= partial 'partials/nav_top'
%> <div class="wrapper"> <%= partial 'partials/head_top' %>
ศརͳ#2 • LiveReload • ϑΝΠϧΛॻ͖͑ͨλΠϛϯάͰϒϥβΛউखʹ Ϧϩʔυͯ͘͠ΕΔ $ middleman server --livereload
ࣗࣾϖʔδMiddlemanԽ • ରϖʔδ http://www.ikyu.co.jp/recruit/ • ϨΠΞτɺ෦ςϯϓϨʔτͳͲͰڞ௨Խͭͭ͠ MiddlemanԽ • Γ࢝Ί͔ͯΒ1͘Β͍ͰͰ͖ͨ
HerokuʹσϓϩΠ • αΠτ࡞Δ • Procfile • MiddlemanͷϏϧυͱىಈΛॻ͚ͩ͘ web: bundle exec
middleman build && middleman server -p $PORT
Circle CIͰࣗಈԽ • HerokuͷσϓϩΠΛࣗಈԽ • master mergeͰൃಈ machine: timezone: Asia/Tokyo
ruby: version: 2.3.1 test: override: - echo "test" deployment: production: branch: master heroku: appname: ikyucorp-middleman testͷهड़ඍົ… ͚Ͳ੩తαΠτͳͷͰ…
Demo
ΓΔ͜ͱ • HerokuͰΔͷ͔ / ͘͞Βͷ··͔ΛܾΊΔ • HerokuͳΒͦͷ··ɺ͘͞ΒͳΒσϓϩΠํࣜΛม͑Δ • middleman-deploy ͱ͍͏Gem͕FTPͰͷϦϦʔεʹ
ରԠ͍ͯ͠Δ • HerokuͳΒ /recruit/ ԼͷΞΫηεΛϦμΠϨΫτ͞ ͤΔ
Middlemanॴײ • Middleman • Rails͔Β੩తαΠτ࡞Δػೳ͕ൈ͖ग़͞ΕͯΔײ͡Ͱ ͍উख͕͍͍ • ϏϧυɺσϓϩΠϥΫ • ͜ΕͳΒσβΠφʔʹͬͯΒ͑Δͱࢥ͏
• ૣ͘ΕΑ͔ͬͨɻɻ
߹॓ॴײ • ߹ָ͍॓͠ • ·ͱ·ͬͨ࣌ؒͰՌग़͍͢͠ • ࠓճਓ૿͑ͯخ͍͠(6໊ -> 9໊) •
ژͰ༠͕ଟ͗ͯ͢੨य़શ෦͔͚Δͷ͕Ή͔͍ͣ͠ • ·ͨΓ·͠ΐ͏
ژΛָ͠Ή
ͪ;ΔΛ؍Δ
͋ͱ