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
Performance Optimization With LLMs
xleitix
0
210
Next.js: The final boss of Web Performance
guaca
0
340
sbt 2.0: takeoff
eed3si9n
0
170
オーケストレーション記述言語 Katari
yukikurage
0
200
現場と育てるRailsモデリング 〜Spreadsheetから始めたモデル設計〜
siroemk
2
960
ActionController meets Protocol Buffers
sorah
1
710
Railsバージョンを4倍にした話
optim
0
710
Vue Fes Japan の “作る側”に関わってみて
naokihaba
1
190
No More NoSuchMethodError
exoego
1
110
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
160
Long Living Tokens, Die, Die, Die! (or: The One Ring is Banned in Modern)
sylph01
0
370
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
170
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
187
23k
A better future with KSS
kneath
240
18k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
290
How to Talk to Developers About Accessibility
jct
2
590
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
320
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
460
AI Search: Implications for SEO and How to Move Forward - #ShenzhenSEOConference
aleyda
1
1.4k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
450
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
590
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
580
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
410
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.9k
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ʹͳ͍ͬͯ͘ͷ͔ ʢͪΐͬͱ৮ͬͨײ͡ศརͦ͏ͩͬͨ
ྑ͍͓Λ