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
260
非エンジニアから開発者まで!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
200
スタイリッシュでモダンな「Gin」管理テーマの紹介 #drupal_haneda
hmaruyama
0
160
DrupalのWeb Profiler #drupal_haneda
hmaruyama
0
260
Drupal認定試験にチャレンジしよう!アクイア認定プログラムのご紹介 / introduction of Acquia Drupal Certification Program
hmaruyama
0
820
「Docker/Kubernetes実践コンテナ開発入門」学習のポイント #dockerbg / 20191108
hmaruyama
0
94
enebularでobnizを Lチカ してみた #enebular / 20181122
hmaruyama
0
490
駅すぱあとWebサービス連携ハンズオンパート ノンプログラミングでClovaスキルハンズオン&お茶会 #linebootawards #Clova_CEK / 20180919
hmaruyama
1
540
Agent Friends Xperia Ear Duoで誰でも コミュニケーションにコミット #linebootawards / 20180826
hmaruyama
0
82
kintoneで楽々交通費精算!駅すぱあとWebサービス連携ハンズオン #kintonedevcamp / 20180802
hmaruyama
0
720
Other Decks in Programming
See All in Programming
GraphQL あるいは React における自律的なデータ取得について
quramy
2
720
1人で挑むSwiftコンパイラ 〜型システム入門編〜
s_shimotori
0
320
GoのIteratorに詳しくなってしまう
inatonix
1
180
LangChainの現在とv0.3にむけて
os1ma
3
740
Desafios e Lições Aprendidas na Migração de Monólitos para Microsserviços em Java
jessilyneh
2
130
Ebitengineの1vs1ゲーム WebRTCの活用
ponyo877
0
350
ECMAScript仕様を読むのに必要な知識 - ダイジェスト版
syumai
4
2.6k
ESLint Rule により事業, 技術ドメインに沿った制約と誓約を敷衍させるアプローチのすゝめ
shinyaigeek
1
2.8k
New Order in Cascade Sorting Order
mugi_uno
3
2.5k
僕が思い描くTypeScriptの未来を勝手に先取りする
yukukotani
7
2.1k
The Sequel to a Dream of Ruby Parser's Grammar
ydah
1
190
XStateでReactに秩序を与えたい
gizm000
0
500
Featured
See All Featured
What's new in Ruby 2.0
geeforr
340
31k
Testing 201, or: Great Expectations
jmmastey
35
6.9k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
663
120k
Designing Experiences People Love
moore
138
23k
Intergalactic Javascript Robots from Outer Space
tanoku
268
26k
A Tale of Four Properties
chriscoyier
155
22k
Fashionably flexible responsive web design (full day workshop)
malarkey
401
65k
Making the Leap to Tech Lead
cromwellryan
128
8.8k
Put a Button on it: Removing Barriers to Going Fast.
kastner
58
3.4k
Adopting Sorbet at Scale
ufuk
72
8.9k
A Philosophy of Restraint
colly
202
16k
KATA
mclloyd
27
13k
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
͝ਗ਼ௌ͋Γ͕ͱ͏ ͍͟͝·ͨ͠