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
みんなもMiddlemanで技術ブログ作って幸せになろう!
Search
ikuwow
June 12, 2015
Programming
1k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
みんなもMiddlemanで技術ブログ作って幸せになろう!
@HTML5minutes
ikuwow
June 12, 2015
More Decks by ikuwow
See All by ikuwow
Elasticsearch on EC2からAmazon Elasticsearch Serviceに 移行してだいぶ楽になった話
ikuwow
0
3.6k
意外と使える! Alibaba Cloud
ikuwow
0
250
teratailの解析基盤をEFKで作っていろいろ楽しい話
ikuwow
0
930
UNIXという考え方
ikuwow
1
2.1k
技術書紹介 パーフェクトPHP
ikuwow
0
2.2k
PHPサイバーテロの技法 書籍紹介
ikuwow
0
1k
Other Decks in Programming
See All in Programming
ソニーのクラウド共通基盤の変遷とAI時代の開発スタイルに合わせた進化 / The Journey of Sony’s Common Cloud Platform and Its Evolution for AI-Native Development
kenjiyoneyama
0
280
作って学ぶSpring BootのAuto Configuration / JJUG Night Seminar 2026-10-19
rshindo
0
190
Event is what happens
moro
2
920
AIに “答え“を書かせるのを やめてみた
___akari11
0
120
[2026-10-14](C)Re:ゼロから始める異世界生活〜始まりの終わりと終わりの始まり〜
tosite
0
110
全ての永続トークンを、生まれる前に消し去りたい!
sylph01
2
990
Findy - エンジニア向け会社紹介/Findy Company Deck
findyinc
6
400k
Atomic Design, Enforced: Scaling Mobile Design Systems (next.app devCon / droidCon Berlin 2026)
steliosf
PRO
0
170
ActionController meets Protocol Buffers
sorah
0
560
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
160
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
150
パズルゲームの作り方 / how to make puzzle games
kaityo256
PRO
2
300
Featured
See All Featured
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
270
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
760
The Limits of Empathy - UXLibs8
cassininazir
2
720
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.6k
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
570
YesSQL, Process and Tooling at Scale
rocio
174
15k
Practical Orchestrator
shlominoach
192
12k
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
730
First, design no harm
axbom
PRO
2
1.3k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.8k
Transcript
ΈΜͳMiddlemanͰ ٕज़ϒϩά࡞ͬͯ ͤʹͳΖ͏ʂ 2015/06/12 (Thu) ϨόϨδʔζגࣜձࣾ teratail։ൃνʔϜɹग़ ز
ࣗݾհ • ग़ زʢσΨϫ ΠΫΦʣ • 20154݄ϨόϨδʔζ৽ଔೖࣾ • teratail։ൃνʔϜ ΤϯδχΞ
• PHPͷਓ • झຯɿαʔόʔࣗಈԽ • ͠ΌΔͷۤखɻͨ·ʹ͕࣌ࢭ·Δɻ @ikuwow
teratailͬͯΔʁ teratailεςοΧʔͬͯ·͢ “ຊͷΤϯδχΞ͕ू͏Q&AίϛϡχςΟαΠτ”
ͨͩࠓteratailͷ͜ͱશ͘͠·ͤΜ શʹࣗͷझຯΛ͠·͢…
MiddlemanͬͯΔʁ https://middlemanapp.com
Middlemanͱʁ • RubyϑϩϯτΤϯυ ੜπʔϧ • ERBɺHamlɺSassɺ LessɺCoffeeScript͔Β HTMLɺCSSɺJSΛੜ $ gem
install middleman $ middleman init myblog
MiddlemanͰϒϩά࡞Γ·ͨ͠ http://ikuwow.website/
ͳΜͰMiddlemanͰϒϩάʁ • MarkdownͰॻ͖͍ͨʂWordPressͷҋ͏ݟͨ͘ͳ͍ʂʂ • VimͰهࣄॻ͖͍ͨɾɾɾɻ • YeomanJS͜Θ͍͠ɺJekyllॏ͍Β͍͠͠ɺ Octpressϩΰ͕ΩϞ͍͠ɾɾɾ • Middleman࠷ۙ։ൃ͕׆ൃɻຊޠυΩϡϝϯτॆ࣮ɻ
͋ͱݸਓతʹ͠Έ͍͢Rubyɻ
ϒϩά͕؆୯ʹ࡞ΕΔ • middleman-blogͱ͍ ͏ެࣜϓϥάΠϯ͕ ༏ल • λά͚ɺԼॻ͖ɺ URLܗɺΞʔΧΠ ϒɺ… $
middleman init —template=blog $ middleman serve ## config.rb activate :blog do |blog| # ϒϩάػೳͷΦϓγϣϯΛઃఆ end
σΟϨΫτϦߏ • Jekyllʹൺͯ γϯϓϧ myblog/ +-- .gitignore +-- Gemfile +--
Gemfile.lock +-- config.rb +-- source/ +-- images/ ¦ +-- background.png ¦ +-- middleman.png +-- index.html.erb +-- javascripts/ ¦ +-- all.js +-- layouts/ ¦ +-- layout.erb +-- stylesheets/ +-- all.css +-- normalize.css +-- build/
͍ͭͷΤσΟλͰMarkdown YAMLͰFrontmatterॻ͘ $ middleman article my- article
RailsͷViewͬΆ͘ॻ͚Δ <% wrap_layout :layout do %> <h1><%= current_article.title unless current_article.nil?
%></h1> <p class="post-meta""> <% if !current_article.nil? %> <% current_article.tags.each do |tag| %> <%= link_to tag, tag_path(tag), :class => "post-category post-category-design"%> <% end %> <% end %> </p> <div class="social-buttons-box"> <%= partial "social_buttons" %> </div> <%= link_to ‘ϗʔϜ’, ‘http://ikuwow.website' %> <% end %>
GitHub PagesʹσϓϩΠ $ middleman deploy هࣄΛॻ͘=> git commit => git
push => ͦͷͰө
͍ͭͷΤσΟλͰ
None
MarkdownͰهࣄΛॻ͖ git commit
GitHub Pagesʹଈө git push
ීஈͷ։ൃͷྲྀΕͰ ϒϩά͕ॻ͚Δʂ
Middleman ࠷ߴ
MiddlemanͰ ٕज़ϒϩάΛॻ͜͏ʂ
MiddlemanͰαΠτ࡞Δͱ υΩϡϝϯτʹࡌͤͯΒ͑·͢ ͝੩ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠