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
最近のWordPressの開発環境について調べてみた
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
▲
July 06, 2021
Programming
300
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
最近のWordPressの開発環境について調べてみた
社内勉強会で使った資料です
▲
July 06, 2021
More Decks by ▲
See All by ▲
サーバーレスでフロントエンドも個人開発
mismith0227
0
440
見落としがちな想定漏れ
mismith0227
0
210
Variable Font を使ってみた
mismith0227
1
260
gulpをやめてnpm scriptを使う
mismith0227
0
190
Tailwindcssを使ってみる
mismith0227
0
260
カンパイ本町を支える技術
mismith0227
0
3.1k
WP REST APIとReact Nativeを使ってマガジンアプリを作る
mismith0227
1
2.2k
Material - UI v1が 出そうなので使ってみた
mismith0227
0
2.3k
なんか作ってサーバーレスに触れてみた
mismith0227
0
420
Other Decks in Programming
See All in Programming
現場と育てるRailsモデリング 〜Spreadsheetから始めたモデル設計〜
siroemk
2
960
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
3
1.3k
Compiling a real-world CLI tool to native with Static Hermes
tmikov2023
0
130
自作Discord音声botをLambda MicroVMsに移行した話 / Migrating My Discord Voice Bot to Lambda MicroVMs
akihisaikeda
0
150
TanStack Vue Query と Pinia Colada から学ぶ非同期状態の型設計
aoshi
0
270
HTML-in-Canvasで作る未来のWeb UI表現
clockmaker
5
5.8k
APNsからLive Activityを開始する話
yumnumm
0
180
あなたの await、OS まで届いてる? strace で覗く JavaScript の非同期
hasutosasaki
1
1.5k
Seven New Principles of Software Engineering
yegor256
0
310
Event is what happens
moro
2
1.6k
Groovy as a human and AI friendly programming language
paulk
0
110
npm との違いを手がかりにGo の依存管理を理解したい
optim
0
1.1k
Featured
See All Featured
The SEO Collaboration Effect
kristinabergwall1
1
600
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
43k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
580
Testing 201, or: Great Expectations
jmmastey
46
8.4k
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Embracing the Ebb and Flow
colly
88
5.2k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
440
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Mobile First: as difficult as doing things right
swwweet
225
10k
Raft: Consensus for Rubyists
vanstee
143
7.8k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
360
Transcript
࠷ۙͷ8PSE1SFTTͷ ։ൃڥʹ͍ͭͯ ௐͯΈͨ
8PSE1SFTTͱͷ͖߹͍ ɾ͜ͷۀքʹೖͬͨͱ͖ʹඞཁͩͱࢥͬͯ ɹݸਓϒϩάͰͬͯΈΔ ɾ͔͠͠ɺࣄͰͬͨͷยखͰ͑Δఔ͔͠ͳ͘ ɹௐͳ͕ΒͩͬͨΒԿͱ͔Ͱ͖Δఔ
։ൃڥ͍Ζ͍Ζ
.".19".11
.".19".11 ɾ.".1͕.BDɺ9".11͕8JOEPXT ɾ8FC։ൃʹඞཁͳڥ͕·ͱ·͍ͬͯΔ ɾ͕ࣗ͜ͷۀքʹೖͬͨͱ͖ʹ8PSE1SFTTͷ ɹ։ൃڥͱ͍͑͜Εͩͬͨ ɾࠓͲ͏ΘΕ͍ͯΔͷ͔Βͳ͍͕ ɹ໊લ΄ͱΜͲฉ͔ͳͬͨ
7$$8
7$$8 ɾ7BHSBOUɺ$IFGɺ$FOU04ɺ8PSE1SFTTͷ಄จࣈΛ ɹͱ͍ͬͯΔ7BHSBOUϕʔεͷ։ൃڥ ɾίϚϯυૢ࡞ ɾαΠτΛ࡞Δ߹αΠτ͝ͱʹ7JSUVBM.BDIJOFΛ ɹ্ཱͪ͛Δ͜ͱʹͳΔͷͰ༰ྔΛѹഭ͢ΔهԱ
8PDLFS
8PDLFS ɾ%PDLFSϕʔε ɾαΠτ͝ͱʹίϯςφΛ࡞ΓΓସ͑Δ ɾ্ཱͪ͛·Ͱૣ͍ ɾෳͷςʔϚʢαΠτʣΛ࡞ΔͳΒ7$$8ΑΓ ɹ8PDLFSͱ͍͏Πϝʔδʁ
-PDBM
-PDBM ɾ͝ΖʹʹͳͬͯΘΕग़ͨ͠ ɾ%PDLFSϕʔεͷ(6*πʔϧʢॳ.BD͚ͩͩͬͨʣ ɾΤϯδχΞ͡Όͳͯ͑͘Δ ɾ(6*πʔϧ͚ͩͲίϚϯυૢ࡞ʢXQDMJʣͰ͖Δ ɾศར
-PDBM αΠτ໊ઃఆΛೖྗ
-PDBM 1)1ͷόʔδϣϯͷઃఆͱ͔
-PDBM ϩάΠϯใͷઃఆ
-PDBM ʂ ϑΝΠϧಛʹࢦఆ͠ͳ͚Ε-PDBM4JUFTҎԼʹੜ͞ΕΔ
XQFOW
XQFOW ɾ͍ͭʹެ͕ࣜग़ͨ͠ ɹʹͳͬͨͷࠓ͡Ίࠒʁ ɾ%PDLFSϕʔε ɾ%PDLFSͱOQN͕ඞཁ
XQFOW %PDLFSΞϓϦΛΠϯετʔϧ͓ͯ͘͠
XQFOW ίϚϯυଧͭʢ ͔͔Δʣ $ mkdir wp-test-site $ cd wp-test-site $
npm init -y $ npm i @wordpress/env —save-dev
XQFOW QBDLBHFKTPOΛॻ͖͑ͯɺTUBSU "scripts": { “wp-env": “wp-env", }, $ npm run
wp-env start $ npm run wp-env stop
XQFOW MPDBMIPTUͰදࣔ XQBENJO͔Βཧը໘ʹϩάΠϯͰ͖Δ
XQFOW ςʔϚϓϥάΠϯ։ൃɺͦͷଞઃఆΛ͢Δ߹XQFOWKTPOΛ࡞Δ ςʔϚϑΝΠϧσΟϨΫτϦԼͰ0, { “themes": “./theme-name“, }, $ npm run
wp-env start -update
ͲΕ͕͍͍ͷ͔ ɾ͍׳ΕͯΔͷͰ0, ʢ5XJUUFSͰϫʔυݕࡧ͢Δͱҙ֎ͱͲΕΘΕͯΔʣ ɾָͳͷ-PDBM ɾίϚϯυ͑ΔͳΒXQFOWɺ8PDLFSɺ7$$8͋Γ ɾࠓޙXQFOWʹͳ͍ͬͯ͘ͷ͔ ʢͪΐͬͱ৮ͬͨײ͡ศརͦ͏ͩͬͨ
ྑ͍͓Λ