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
230
スタイリッシュでモダンな「Gin」管理テーマの紹介 #drupal_haneda
hmaruyama
0
170
DrupalのWeb Profiler #drupal_haneda
hmaruyama
0
280
Drupal認定試験にチャレンジしよう!アクイア認定プログラムのご紹介 / introduction of Acquia Drupal Certification Program
hmaruyama
0
880
「Docker/Kubernetes実践コンテナ開発入門」学習のポイント #dockerbg / 20191108
hmaruyama
0
100
enebularでobnizを Lチカ してみた #enebular / 20181122
hmaruyama
0
520
駅すぱあとWebサービス連携ハンズオンパート ノンプログラミングでClovaスキルハンズオン&お茶会 #linebootawards #Clova_CEK / 20180919
hmaruyama
1
570
Agent Friends Xperia Ear Duoで誰でも コミュニケーションにコミット #linebootawards / 20180826
hmaruyama
0
86
kintoneで楽々交通費精算!駅すぱあとWebサービス連携ハンズオン #kintonedevcamp / 20180802
hmaruyama
0
780
Other Decks in Programming
See All in Programming
Monixと常駐プログラムの勘どころ / Scalaわいわい勉強会 #4
stoneream
0
270
Stackless и stackful? Корутины и асинхронность в Go
lamodatech
0
690
快速入門可觀測性
blueswen
0
340
talk-with-local-llm-with-web-streams-api
kbaba1001
0
180
Zoneless Testing
rainerhahnekamp
0
120
KMP와 kotlinx.rpc로 서버와 클라이언트 동기화
kwakeuijin
0
140
今からはじめるAndroidアプリ開発 2024 / DevFest 2024
star_zero
0
1k
創造的活動から切り拓く新たなキャリア 好きから始めてみる夜勤オペレーターからSREへの転身
yjszk
1
130
LLM Supervised Fine-tuningの理論と実践
datanalyticslabo
3
1.1k
SymfonyCon Vienna 2025: Twig, still relevant in 2025?
fabpot
3
1.2k
ソフトウェアの振る舞いに着目し 複雑な要件の開発に立ち向かう
rickyban
0
890
これでLambdaが不要に?!Step FunctionsのJSONata対応について
iwatatomoya
2
3.6k
Featured
See All Featured
A Philosophy of Restraint
colly
203
16k
Build your cross-platform service in a week with App Engine
jlugia
229
18k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
Become a Pro
speakerdeck
PRO
26
5k
Docker and Python
trallard
42
3.1k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
5
440
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
Large-scale JavaScript Application Architecture
addyosmani
510
110k
Producing Creativity
orderedlist
PRO
341
39k
Facilitating Awesome Meetings
lara
50
6.1k
Reflections from 52 weeks, 52 projects
jeffersonlam
347
20k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
1.9k
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
͝ਗ਼ௌ͋Γ͕ͱ͏ ͍͟͝·ͨ͠