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
はじめてのスタティックサイト ジェネレーター.
Search
DigitalCube Inc.
April 03, 2019
Technology
2.6k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
はじめてのスタティックサイト ジェネレーター.
スタティックサイト ジェネレーターの概要やGatsbyのチュートリアル、 スタティックサイト ホスティング「surge」や「Netlify」へのデプロイについての紹介。
DigitalCube Inc.
April 03, 2019
More Decks by DigitalCube Inc.
See All by DigitalCube Inc.
ISMSを3ヶ月で爆速取得したプロジェクトマネジメントのコツ
digitalcube
0
590
地方の零細企業が AWS MarketPlace 使って10年どうだった?
digitalcube
0
1.2k
[株式会社デジタルキューブ] 会社概要
digitalcube
1
11k
[4/7 開催] Shifter オンラインミートアップ!春のフレッシャーズ祭り
digitalcube
0
810
WordPress のフルサイト編集を使ったサイト作成と Shifter を使ってノーコードで安全なサイトを運用する
digitalcube
0
1.1k
Shifter の基本と最新情報
digitalcube
0
260
[12/10 開催] Shifter オンラインミートアップ!
digitalcube
0
130
Snow Monkey での 自社サービスサイト構築事例
digitalcube
0
890
Shifter 新ダッシュボード 3 つのポイントをご紹介
digitalcube
0
630
Other Decks in Technology
See All in Technology
Swap and Memory Reclaim - Squeezing Out More RAM
ennael
PRO
1
1.5k
Claude Designがめちゃくちゃ便利なので使ってほしい
diggymo
0
230
HolmesGPTで始めるSREエージェント入門!プラットフォームの障害調査はAIにお任せ 〜
leveragestech
PRO
0
140
The seven pitfalls of AI (revised version)
ufried
0
220
AgentCoreで実践するハーネスエンジニアリング
yakumo
1
210
「とりあえず動く」の先へ。 AI時代のチーム開発と内部設計/2026-slsdays
slsops
0
110
FinTech 1-2 : Overview of FinTech
ks91
PRO
0
130
[2026 Oracle Technical Deep Dive] オンプレミスDBのCloud移行アプローチ:移行計画に基づくメソッドとツールの選択 (2026年9月17日開催)
oracle4engineer
PRO
0
110
GitHub Agentic Workflows を触ってみる
htkym
2
920
AI 時代の Azure エンジニアリング ~ 私たちは何を磨き、何を任せるのか ~
chack411
1
370
[2026-09-30]ロックンロールは鳴り止まないっ - 信頼性かまってちゃん - 「データ駆動を投げ捨ててまで。」追いかける信頼性改善に向けた取り組みの話
tosite
0
180
LLM機能を自作して分かるSnowflake Cortex AIの強み
nayuts
0
210
Featured
See All Featured
My Coaching Mixtape
mlcsv
0
330
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
200
Automating Front-end Workflow
addyosmani
1369
210k
Leo the Paperboy
mayatellez
10
2.3k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
510
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Deep Space Network (abreviated)
tonyrice
0
350
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
1
780
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
540
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.2k
Speed Design
sergeychernyshev
33
2.1k
Transcript
͡ Ίͯͷ ε λ ςΟ ο Ϋ αΠ τ
δΣ ω Ϩ ʔ λ ʔ S E I J I A K AT S U K A D I G I TA L C U B E C O . LT D .
W K J + C S M D I G
I TA L C U B E W H O A M I ? S E I J I A K AT S U K A amimoto-ami.com getshifter.io
• What’s Static Site Generatorʁ • Try Gatsby • What’s
Static Site Hosting? Agenda
W H AT ’ S S TAT I C S
I T E G E N E R AT O R ʁ
ͲΜͳͷʁ •֤ݴޠϥΠϒϥϦʹΑΔςϯϓϨʔτΤϯδϯ͔ΒJavaScriptͱ APIͰಈతͳσʔλίϯςϯπΛѻ͏੩తαΠτ͕࡞Ͱ͖ΔϏϧυ πʔϧ •δΣωϨʔλʔ͝ͱͷެࣜαΠτίϛϡχςΟ͕ެ։͍ͯ͠Δ ͷΛར༻͢Δ͔ΧελϚΠζͯ͠ར༻
ಛ • ϓϩδΣΫτgitͰཧ • CLIத৺ͰγϯϓϧʹߏஙͰ͖ΔڥͰͲ͜ͰͰ։ൃͰ͖Δ • αʔόʔαΠυͷߏWebCDNͷΈ S3SaaSར༻ͳͲαʔόʔෆཁͳબࢶ • ݕࡧϑΥʔϜͳͲJavaScript֎෦࿈ܞΛ׆༻
• σϓϩΠΞτϛοΫʹߦ͏
ͲΜͳͷ͕͋Δʁ https://www.staticgen.com • 250छྨۙ͘ܝࡌ • ࣮͍ͯ͠Δݴޠ • ςϯϓϨʔτͷݴޠ
T RY G AT S B Y
• ReactͷελςΟοΫαΠτ δΣωϨʔλʔ • HTML / CSS / JavaScript /
React.js / GraphQLͰߏ • WordPress, ϦϙδτϦ্ͷϑΝΠϧ, Markdown, API, Database, YamlͳͲ Λಉ͡ΠϯλʔϑΣʔεͰσʔλιʔεʹͰ͖Δ ࢀߟɿhttps://wp-kyoto.net/gatsbyͰwordpress-siteͷϑϩϯτΤϯυΛ࡞ͬͯΈΔ • ੩తHTMLReactͷSPAͱͯ͠ͷҐஔ͚
https://github.com/gatsbyjs/gatsby • ੩తαΠτͷϦιʔεͷσʔλऔ ಘʹGraphQLΛ༻ WordPress, S3, Firesore, etc… • GraphQLαʔόʔෆཁ
σʔλιʔεʹϓϥάΠϯͰରԠ Gatsby on GraphQL
Show case https://www.gatsbyjs.org/showcase/
1. ։ൃڥͷηοτΞοϓ Install Node.js, Install Git, Using the Gatsby CLI
2. Gatsby αΠτͷ࡞ $ gatsby new [SITE_DIRECTORY_NAME] [URL_OF_STARTER_GITHUB_REPO] σΟϨΫτϦͷ࡞ͱςϯϓϨʔτྨͷऔಘ 3. gatsby developίϚϯυͰαʔόʔىಈ $ gatsby develop ʮhttp://localhost:8000ʯͰϗοτϦϩʔυ͠ͳ͕Βߏங Hello world ʹτϥΠ https://www.gatsbyjs.org/tutorial/part-zero/
Edit, Preview (src/pages/index.js)
• ੩తϑΝΠϧΛδΣωϨʔτ gatsbyίϚϯυͰsrc/publicԼͷjsϑΝΠϧ͔ΒHTMLΛੜ $ gatsby build • ελςΟοΫαΠτ ϗεςΟϯάʮsurge.shʯʹσϓϩΠ $
npm install --global surge (SuegeͷϑϦʔΞΧϯτΛొ) $ surge public/ (σϓϩΠ) ΞΫηεՄೳͳURL͕දࣔ͞ΕΔ Go live via surge!
W H AT ’ S S TAT I C S
I T E H O S T I N G ?
SurgeͬͯͳΜͩʁ https://surge.sh/pricing • ελςΟοΫαΠτ ༻ͷϗε ςΟϯάαʔϏε • ແྉͰSSL (ఏڙ͞ΕΔURL) ΧελϜυϝΠϯ(Not
ssl)ʹର Ԡ • CLI (surgeίϚϯυ)Ͱૢ࡞
ελςΟοΫαΠτ ϗεςΟϯάͷछྨ https://www.slant.co/topics/2256/~best-static-website-hosting-provider#1 1. HostingͷΈ GitHubPagesGitLabPages Amazon S3 /
EC2 / VPS ͳͲ 2. Ϗϧυ, σϓϩΠ, ϗεςΟϯά Netlify (GitHub / GitLab / Bitbucket) 3. CMS, Ϗϧυ, σϓϩΠ, ϗεςΟϯά Netlify CMS , forestry.io, 4. All in One, Full Web UI for WordPress Shifter WordPressͷ੩తԽ͔ΒGlobal CDN·Ͱ
1. GitHub, GitLab, BitbucketΞΧϯτΛ༻ҙ 2. NetlifyͷΞΧϯτΛ༻ҙ GitHub, GitLab, BitbucketͰϩάΠϯՄೳ 3.
NetlifyʹϦϙδτϦΛඥ͚ σϓϩΠίϚϯυʮGatsyby buildʯ ެ։σΟϨΫτϦʮpublic/ʯ 4. ϦϙδτϦʹcommit & push Netlify͕δΣωϨʔτͯ͘͠ΕΔͷͰศར 5. That’s it! gatsby-cliΛ͏߹ͪ͜ΒΛࢀর A Step-by-Step Guide: Gatsby on Netlify ͓·͚ Go live via Netlify!
• ඪ४ػೳ Global deployment, right from Git HTTPS, custom domains,
DNS management • CDNͷଳҬɿ100GB/݄ • Ϣʔβʔɿ1໊ • OrganizationɿProҎ্ • ύεϫʔυϩάΠϯɿProҎ্ • ACLɿBusinessҎ্ • Audit log ɿBusinessҎ্ Free usage
Less Is More. Let's go static with Shifter. • ΑΓྑ͍ύϑΥʔϚϯε
(Static HTML + CDN) • ΑΓߴ͍ηΩϡϦςΟ (Micro services archtechture) • ΑΓ҆ՁͰ؆୯ͳεέʔϦϯά (No ops) • ΑΓྑ࣭ͳ։ൃऀΤΫεϖϦΤϯε (Cool, Clean architecture, Community friendly)
T H A N K S !