Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
非エンジニアから開発者まで!DrupalPodを使用したDrupal環境の作成
Search
HikaruMaruyama
June 27, 2022
Programming
1
270
非エンジニアから開発者まで!DrupalPodを使用したDrupal環境の作成
https://drupal-meetup-haneda.connpass.com/event/249475/
#DrupalPod #Gitpod #IDE #VSCode #ローカル開発環境
HikaruMaruyama
June 27, 2022
Tweet
Share
More Decks by HikaruMaruyama
See All by HikaruMaruyama
OSS CMS「Drupal 10」 エッセンシャル:最新版でのWeb開発の魅力を探る #oscnagoya
hmaruyama
0
220
スタイリッシュでモダンな「Gin」管理テーマの紹介 #drupal_haneda
hmaruyama
0
170
DrupalのWeb Profiler #drupal_haneda
hmaruyama
0
270
Drupal認定試験にチャレンジしよう!アクイア認定プログラムのご紹介 / introduction of Acquia Drupal Certification Program
hmaruyama
0
860
「Docker/Kubernetes実践コンテナ開発入門」学習のポイント #dockerbg / 20191108
hmaruyama
0
96
enebularでobnizを Lチカ してみた #enebular / 20181122
hmaruyama
0
510
駅すぱあとWebサービス連携ハンズオンパート ノンプログラミングでClovaスキルハンズオン&お茶会 #linebootawards #Clova_CEK / 20180919
hmaruyama
1
560
Agent Friends Xperia Ear Duoで誰でも コミュニケーションにコミット #linebootawards / 20180826
hmaruyama
0
84
kintoneで楽々交通費精算!駅すぱあとWebサービス連携ハンズオン #kintonedevcamp / 20180802
hmaruyama
0
760
Other Decks in Programming
See All in Programming
CSC509 Lecture 09
javiergs
PRO
0
140
AWS Lambdaから始まった Serverlessの「熱」とキャリアパス / It started with AWS Lambda Serverless “fever” and career path
seike460
PRO
1
260
みんなでプロポーザルを書いてみた
yuriko1211
0
260
ECS Service Connectのこれまでのアップデートと今後のRoadmapを見てみる
tkikuc
2
250
シェーダーで魅せるMapLibreの動的ラスタータイル
satoshi7190
1
480
as(型アサーション)を書く前にできること
marokanatani
10
2.6k
イベント駆動で成長して委員会
happymana
1
320
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
1
100
OnlineTestConf: Test Automation Friend or Foe
maaretp
0
110
Ethereum_.pdf
nekomatu
0
460
『ドメイン駆動設計をはじめよう』のモデリングアプローチ
masuda220
PRO
8
540
Macとオーディオ再生 2024/11/02
yusukeito
0
370
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
364
19k
Fireside Chat
paigeccino
34
3k
Art, The Web, and Tiny UX
lynnandtonic
297
20k
Building Your Own Lightsaber
phodgson
103
6.1k
It's Worth the Effort
3n
183
27k
How to Ace a Technical Interview
jacobian
276
23k
Adopting Sorbet at Scale
ufuk
73
9.1k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
26
2.1k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
370
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Building Adaptive Systems
keathley
38
2.3k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Transcript
ඇΤϯδχΞ͔Β։ൃऀ·Ͱʂ DrupalPodΛ༻ͨ͠Drupalڥͷ࡞ ·Δ· ͻ͔Δ
ࣗݾհ • 199110݄29 ੜ·Ε • ಠཱܥιϑτΣΞ։ൃձࣾͰιϑτΣΞΤϯδχΞ • ͷͪΤόϯδΣϦετͱͯ͠ϓϩμΫτͷܒ׆ಈ • 20198݄
ΞΫΠΞʹδϣΠϯ • ΣϒαΠτͷίϯςϯπͷٕज़༁ϩʔΧϥΠζΛ ୲ Ruby / Rails / Web API / Docker / AWS ϥʔϝϯ / εΠʔπ / Ωϟϯϓ൧ / ొࢁ ؙࢁ ͻ͔Δ ΞΫΠΞδϟύϯ ςΫχΧϧτϥϯεϨʔλʔ
ࠂ ٕज़ॻయ12Ͱ൦ͨ͠ॻ੶͕ ۀࢽʹͳΓ·ͨ͠ʂʂ ʮDrupal 9 ͓͍͍͠Ϩγϐू 2ʯ ΞϚκϯͰධൃചத̇
DrupalΛαΫοͱ ߏங͍ͨ͠ɾɾɾ ͲΜͳํ๏͕͋ΔͩΖ͏͔ ʁ
DrupalڥΛαΫοͱ༻ҙ͢Δํ๏ • Acquia Dev Desktop • Docker, Lando, DDEV
• Simplytest.me → αϙʔτऴྃ → ඇΤϯδχΞʹ͍͠ → ੍࣌ؒݶ͕͋Δ(݁ߏ͍) DrupalPod͕ྑ͍ͷͰʁ
ຊͷ༰ • DrupalPodͷ֓ཁ • DrupalPodͷ͡Ίํ • GitpodͱԿ͔ • DrupalPodͷػೳ༷ʹ͍ͭ ͯ
• ·ͱΊ
DrupalPodͷ֓ཁ DrupalΛΑΓߩݙ͘͢͢͠ΔͨΊʹɺ ϫϯΫϦοΫͰશͳDrupal։ൃڥΛ ༻ҙͯ͘͠ΕΔπʔϧ ࡞ऀɿOfer Shaal ެࣜαΠτɿhttps://www.drupalpod.com
DrupalPodͷ͡Ίํ 1. ϒϥβ֦ுΛΠϯετʔϧ 2. Drupal.orgͷissueϖʔδʹҠಈ 3. DrupalPod֦ுͷϘλϯΛΫϦοΫ
ૣσϞ ϫϯΫϦοΫʂ 1. ϒϥβ֦ுΛΠϯετʔϧ 2. Drupal.orgͷissueϖʔδʹҠಈ 3. DrupalPod֦ுͷϘλϯΛΫϦοΫ
DrupalPodͷ͍͢͝ͱ͜Ζ ඇΤϯδχΞʙ։ൃऀ·Ͱ ෯͍Ͱ׆༻Ͱ͖ͦ͏ʂ
͔͜͜Βɾɾ গ͠։ൃઢͷ
DrupalPodҰମͳΜͳͷ͔ • DrupalPodཪଆͰ Gitpod ͱ͍͏αʔϏεΛͬͯϦονIDE ڥΛىಈ͍ͯ͠Δ
Gitpodͱ • ແྉͰ͑ΔΫϥυIDE ◦ GitHubͳͲͷϦϙδτϦͱ࿈ܞͯ͠ɺϒϥβ্ͰIDE͕Քಇ͠·͢ ◦ URLɺ͘͠ϒϥβ֦ுͰىಈ https://gitpod.io/#https://github.com/org/repo ʹΞΫηεɺ͘͠ ϒϥβ֦ு͔ΒϘλϯΫϦοΫ
ʘ IDE ര ʗ
Gitpodͷಛͦͷᶃ շదͳ։ൃڥ • VS Codeͱಉ͡Α͏ͳ ૢ࡞ײ(Theiaͱ͍͏Φʔ ϓϯιʔεIDEΛར༻) • ֦ுػೳͰσόοά
πʔϧઃఆՄೳ λʔϛφϧ ΤσΟλ ϓϨϏϡʔ αΠτ
Gitpodͷಛͦͷᶄ ͍ࣺͯײ֮Ͱ࡞Ͱ͖ΔϫʔΫεϖʔε • ϫʔΫεϖʔεΛ4ͭ·Ͱฒྻ ͰՔಇՄೳ • 50࣌ؒ/݄·ͰແྉͰར༻Մೳ Քಇத Քಇத ఀࢭத
ఀࢭத ఀࢭத
Gitpodͷಛͦͷᶅ ར༻͢ΔʹGitpodͷΞΧϯτొ͕ඞཁ • GitLab, GitHub, BitbucketͷΞΧϯτ ࿈ܞ͕Մೳ
Gitpod͚ͩͰྑͦ͞͏͡Όͳ͍ʁ DrupalPodඞཁʁͱ͍͏ํͷͨΊʹ Github͔ΒDrupalͷGitlabϦϙδτϦΛࢦఆͯ͠ىಈ͢ΔͱͲ͏ͳΔ͔ • Drupalͷιʔείʔυ͕Ϋϩʔϯ͞ΕͨIDEڥ্ཱ͕͕ͪΔ • ͔ͦ͜Βcomposer installͨ͠ΓDB༻ҙͨ͠ΓWebαʔόʔىಈ͢Δͷλʔϛφϧܦ༝Ͱߦ͏ඞ ཁ͕͋Δ •
GitpodͰ.gitpod.ymlͱ͍͏ઃఆϑΝΠϧʹ৭ʑهड़͢Δ͜ͱͰಛఆͷDockerΠϝʔδΛར༻͠ ͨΓҙͷεΫϦϓτΛ࣮ߦͰ͖Δ • ͦΕΛΰϦΰϦʹDrupal༻ʹ࠷దԽͯ͘͠Ε͍ͯΔͷ͕DrupalPod
DrupalPodͷʹͬͯ DrupalPodͷ ػೳ༷
DrupalPodͷϢʔεέʔε • ॳΊͯDrupalΛࢼ͢ɻ • DrupalͷҟͳΔόʔδϣϯΛࢼ͢ɻ • issue͔ΒύονΛςετ͢Δɻ • ͰDrupal։ൃڥΛηοτΞοϓ͢Δɻ •
։ൃڥΛଞͷਓͱڞ༗ͯ͠ɺڞಉ࡞ۀΛߦ͏ɻ • ։ൃதͷWIPιϦϡʔγϣϯΛଞͷਓʹݟͯΒ͏ɻ
DrupalPodΛ͏ͨΊʹ༻ҙ͢Δͷ • GitHubΞΧϯτ • GitpodΞΧϯτ(GitHubΞΧϯτ࿈ܞ) • ϒϥβ (Chrome or Firefox)
• DrupalPodϒϥβ֦ுػೳ
DrupalPodΛ༻͢Δ • DrupalαΠτͷϢʔβʔ໊/ύεϫʔυɿadmin/admin • DevelɺAdmin ToolbarɺDrushΠϯετʔϧࡁΈ • λʔϛφϧ͔Βddev, git, drush,
composerίϚϯυ͕࣮ߦՄೳ • ςετXdebugͷ࣮ߦ • phpmyadminɺϝʔϧαʔόʔͷར༻ • DrupalαΠτΛڞ༗ͨ͠Γɺ࣮ߦதͷϫʔΫεϖʔεΛڞ༗ͯ͠ڞಉ࡞ۀͰ͖Δ
ᶅIDE ര DrupalPodͷΈ • DrupalPodͷϒϥβ֦ுͰԿ͕ߦΘΕ͍ͯΔͷ͔ʁ ◦ issueϖʔδ͔ΒඞཁͳใΛूΊͯɺURLΛੜ͍ͯ͠Δ ᶃissueϖʔδʹΞΫηε https://gitpod.io/ #DP_PROJECT_NAME=google_analytics,DP_ISSUE_FORK=
google_analytics-3291489,DP_ISSUE_BRANCH=3291489- googleanalytics.visibility-has- a,DP_PROJECT_TYPE=project_module,DP_MODULE_VERSI ON=4.0.0,DP_CORE_VERSION=9.1.x,DP_PATCH_FILE=,DP_I NSTALL_PROFILE=standard/https://github.com/shaal/ drupalpod ᶄDrupalPodͷϒϥβ֦ு ͰGitpodͷURLΛੜ
URLΛ֦େ͠·ͨ͠ https://gitpod.io/# DP_PROJECT_NAME=google_analytics, DP_ISSUE_FORK=google_analytics-3291489, DP_ISSUE_BRANCH=3291489-googleanalytics.visibility-has-a, DP_PROJECT_TYPE=project_module,
DP_MODULE_VERSION=4.0.0, DP_CORE_VERSION=9.1.x, DP_PATCH_FILE=, DP_INSTALL_PROFILE=standard /https://github.com/shaal/drupalpod ԿΒύϥϝʔλͰ ৭ʑ੍ޚͰ͖Δ Α͏Ͱ͢Ͷɾɾɾ
ΫΤϦจࣈྻΛউखʹղऍͯ͠Έͨ ύϥϝʔλ໊ આ໌ ྫ DP_PROJECT_NAME DrupalϓϩδΣΫτͷϚγϯ໊ ɾdrupal ɾgoogle_analytics ɾbootstrap_barrio DP_ISSUE_FORK
ʢΦϓγϣϯʣϑΥʔΫϦϙδτϦͷࢦఆ ɾgoogle_analytics-3291489 DP_ISSUE_BRANCH ʢΦϓγϣϯʣissueʹϒϥϯν͕࡞͞Ε͍ͯΔ߹ɺϒϥϯνΛࢦఆͰ͖Δ ɾ3291489-googleanalytics.visibility-has-a DP_PROJECT_TYPE https://www.drupal.org/api-d7/node.json? field_project_machine_name={DP_PROJECT_NAME} ͷtypeͷ ɾproject_core ɾproject_module ɾproject_theme DP_MODULE_VERSION ରϓϩδΣΫτͷόʔδϣϯࢦఆ ɾ9.4.x ɾ5.5.x DP_CORE_VERSION DrupalίΞͷόʔδϣϯࢦఆɻରϓϩδΣΫτ͕Ϟδϡʔϧ/ςʔϚͰͳ͘Drupal ίΞͷ߹DP_MODULE_VERSIONͷʹ্ॻ͖͞ΕΔɻ ɾ9.4.x DP_PATCH_FILE ʢΦϓγϣϯʣissueʹύον͕Ξοϓϩʔυ͞Ε͍ͯΔ߹ɺύονϑΝΠϧΛࢦఆ Ͱ͖Δ ɾhttps%3A%2F%2Fwww.drupal.org%2Ffiles %2Fissues%2F2020-09-16%2F2906445-10.patch DP_INSTALL_PROFILE ʢΦϓγϣϯʣΠϯετʔϧϓϩϑΟʔϧͷࢦఆɻʮ’’ʯͷ߹ɺΠϯλϥΫςΟϒΠ ϯετʔϥʔ͕ىಈɻۭଘࡏ͠ͳ͍ΠϯετʔϧϓϩϑΟʔϧΛࢦఆͨ͠߹ɺ demo_umami͕ىಈɻ ɾstandard ɾdemo_umami ɾminimal
ύϥϝʔλͷ༷(?)͕͔ͬͨͱ͜ΖͰ https://gitpod.io/# DP_PROJECT_NAME=drupal, DP_ISSUE_FORK=, DP_ISSUE_BRANCH=, DP_PROJECT_TYPE=project_core,
DP_MODULE_VERSION=9.4.0, DP_CORE_VERSION=9.4.0, DP_PATCH_FILE=, DP_INSTALL_PROFILE=standard /https://github.com/shaal/drupalpod ಛఆͷDrupalίΞόʔ δϣϯͰىಈ͢Δ͜ͱ Մೳ
·ͱΊ • DrupalPodɺDrupal։ൃڥΛ ϫϯΫϦοΫͰ؆୯ʹ༻ҙͯ͘͠ ΕΔศརͳπʔϧͰ͢ɻ • ࠇ͍ը໘Λ৮ΒͣʹDrupalαΠτ Λ࡞Γ͍ͨඇΤϯδχΞ͔Βɺ ϦονͳϩʔΧϧ։ൃڥ͕ཉ͠ ͍։ൃऀ·Ͱ෯͑͘ΔΑ͏ʹ
ײ͡·ͨ͠ɻ • Drupalͷֶशߩݙ͕͞ΒʹՃ ʁ
ࢀߟ • DrupalPod ެࣜαΠτ (Github) https://www.drupalpod.com/ • DrupalPodͷ͍ํ
(Drupal Wiki) https://www.drupal.org/docs/develop/development-tools/drupalpod • DrupalPodͷνϡʔτϦΞϧಈը (Youtube) https://youtu.be/bA4oYXFygPY
͝ਗ਼ௌ͋Γ͕ͱ͏ ͍͟͝·ͨ͠