Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Acquia Cloud Platform入門:Drupalアプリケーション開発を始める [Cloud IDE編]

Acquia Cloud Platform入門:Drupalアプリケーション開発を始める [Cloud IDE編]

Transcript

  1. Acquia Cloud Platformೖ໳ ɹΞδΣϯμ • Cloud IDE ͱ͸ • Cloud

    IDE Λ͸͡ΊΑ͏ • ηοτΞοϓͨ͠ Cloud IDE Λ৮ͬͯ ΈΑ͏ • Q&A DrupalΞϓϦέʔγϣϯ։ൃΛ ࢝ΊΔ [Cloud IDEฤ]
  2. Acquia Cloud Platformೖ໳΢ΣϏφʔγϦʔζ • Acquia Cloud Platform͸ɺDrupalΞϓϦέʔγϣϯΛߏஙɺ؅ ཧ͢ΔͨΊͷεέʔϥϒϧͰ҆શͳϓϥοτϑΥʔϜͰ͢ɻ 
 •

    ຊ΢ΣϏφʔγϦʔζͰ͸ɺAcquia Cloud Platform͕ͲΜͳ΋ ͷ͔ڵຯ͕͋Δํɺ͜Ε͔Β࢖͍࢝ΊΔํ޲͚ʹɺAcquia Cloud PlatformͰߦ͏DrupalΞϓϦέʔγϣϯ։ൃߏஙํ๏΍ ศརͳπʔϧͳͲΛ͝঺հ͠·͢ɻ
  3. ຊ೔ͷεϐʔΧʔ ΞΫΠΞδϟύϯ 
 ؛ढ़ฌ ιϦϡʔγϣϯΤϯδχΞ ΞΫΠΞδϟύϯ 
 ؙࢁͻ͔Δ ςΫχΧϧτϥϯεϨʔλʔ ͰͿͪΌΜͶΔ

  4. Acquia Cloud IDE ͱ͸

  5. Acquia Cloud PlatformͰDrupal։ൃΛߦ͏ ΞΫΠΞͱͯ͠ਪ঑͢Δํ๏͸࣍ͷ2ͭͰ͢ɻ 1. LandoͰϩʔΧϧ։ൃ؀ڥΛ༻ҙ͢Δ 
 2. Cloud IDEͰϦϞʔτʹ։ൃ؀ڥΛ༻ҙ͢Δ

    ←ࠓճ͝঺հ
  6. ͳͥΫϥ΢υܕͷIDEʁ • Docker΍ߴػೳΤσΟλ͕ձࣾͷنఆͰೖ ΕΒΕͳ͍ • ηοτΞοϓʹຖճ1-2೔͔͔Δ • ։ൃ؀ڥ͕֤ਓͰҟͳΓɺ͜ΕͰ໰୊͕ൃ ੜ͍ͯ͠Δ •

    ࢧڅPCͷϚγϯϦιʔεͷރׇ AWS Cloud9 GitHub Codespaces ։ൃ؀ڥͷߏஙʹ͓͚Δ 
 ੈքڞ௨ͷ໰୊ IDEʢ౷߹։ൃ؀ڥʣͷ Ϋϥ΢υαʔϏε͕ଓʑొ৔ ͜ΕΒͷ՝୊Λ ղফʂ
  7. Acquia Cloud IDE ͱ͸ • ϩʔΧϧ։ൃ؀ڥෆཁɾϒϥ΢β্Ͱಈ࡞͢Δɺ Drupalઐ༻ίʔσΟϯά༻ΤσΟλʴ։ൃπʔϧ • Acquia Cloud

    PlatformαϒεΫϦϓγϣϯͷΞυ ϯػೳ • WebαΠτͷϓϨϏϡʔػೳ΍σόοάπʔϧΛ ׬උ
  8. Cloud IDEͷར఺ ͲͷOSͰ΋ಈ͘ ඪ४Խ͞ΕͨηοτΞοϓ ✓ ͙͢ʹ࡞ΕΔʢΦϯϘʔσΟϯάͷߴ଎Խʣ ✓ ͙͢ʹյͯ͠࡞Γ௚ͤΔʢ࠶ݱੑʣ ✓ IDEͷΧελϚΠζͱ֦ுੑ

    Drupalʹ࠷దԽ͞Εͨ؀ڥ ✓ LAMP ✓ Drush ✓ xDebug ηΩϡΞ ✓ Mac ✓ Windows ✓ Linux ✓ ࠷దԽ͞ΕͨωοτϫʔΫ ✓ ݖݶ؅ཧ ✓ Composer ✓ Acquia CLI
  9. Components of Cloud IDE Drupalؔ࿈ͷπʔϧ ελοΫ Acquia Cloud Platformͱͷ౷߹

  10. Cloud IDEͷϦιʔε Resource όʔδϣϯ Acquia CLI 1.12.1 Composer 2 2.1.5

    Composer 1 1.10.22 GitHub CLI 1.13.1 Git 2.33.0 MariaDB (MySQL) Version 14.14 Distribution 5.7.31 Apache2 2.4.18 PHP 7.3.29, 7.4.21 Xdebug 2.7.0beta1 Drush 8.4.6 Theia 1.13.0 Node Version Manager (NVM) 0.37.0 Node.js 12.22.1 npm 6.14.12 Google Chrome 93.0.4577.63 Ruby Version Manager (RVM) 1.29.12 Ruby 2.7.4, 3.0.2 Imagemagick 6.8.9–9 ChromeDriver 93.0.4577.15 ίϯςφϦιʔε Cloud IDE͸ɺUbuntu16.04ίϯςφʔʹ࣍ͷϦιʔε ੍ݶΛఏڙ͠·͢ɻ • 4GBͷϝϞϦ • 2ͭͷCPU • 60GBͷσΟεΫ༰ྔ ؚ·ΕΔπʔϧ܈ Cloud IDEͷίϯςφʹ͸ɺඪ४ͷLinuxπʔϧ ͱ࣍ͷ։ൃπʔϧͷ྆ํؚ͕·Ε͍ͯ·͢ɻ https://docs.acquia.com/ide/resources/
  11. Cloud IDE Λ͸͡ΊΑ͏

  12. Cloud IDEͷ࢝Ίํ Cloud IDEΛ࢝ΊΔͨΊͷओͳྲྀΕΛղઆ͠·͢ɻ 1. Cloud IDEͷ࡞੒ͱىಈ 2. Cloud IDEͷઃఆ

    3. ΞϓϦέʔγϣϯͷΠϯϙʔτ
  13. 1. Cloud IDEͷ࡞੒ͱىಈ Cloud Platform UI͔Βͷૢ࡞ Coming soon! Cloud Platformͷ؅ཧը໘͔ΒCloud

    IDEΛૢ࡞Ͱ͖ΔػೳΛɺݱࡏҰ෦ͷ͓٬༷޲ ͚ʹ։์͍ͯ͠·͢ɻશͯͷ͓٬༷͕͝ར༻͍͚ͨͩΔΑ͏ʹ։ൃ͕ਐΊΒΕ͍ͯ ·͢ɻ • Cloud IDEͷϥΠϑαΠΫϧ͸Acquia CLIΛհͯ͠؅ཧ͠·͢ 
 Acquia CLIΛະΠϯετʔϧͷํ͸·ͣAcquia CLIΛΠϯετʔϧ͠·͢ https://docs.acquia.com/acquia-cli/install/
  14. 1. Cloud IDEͷ࡞੒ͱىಈ • ࣍ͷίϚϯυͰCloud IDEΛ࡞੒͠·͢ 
 $ acli ide:create


    ͍͔ͭ͘ͷϓϩϯϓτ͕දࣔ͞Ε·͢ Please select a Cloud Platform application:ʢIDEΛ࡞੒͢Δର৅ͷAcquia Cloud PlatformͷΞϓϦέʔγϣϯʣ 
 → 0ʢର৅ͷΞϓϦέʔγϣϯͷ൪߸Λೖྗ͍ͯͩ͘͠͞ɻ͜͜Ͱ͸Ծʹ0ͱ͠·͢ʣ 
 Please enter a label for your Cloud IDE. Press enter to use default [Hikaru Maruyama's IDE]:ʢϥϕϧͷೖྗʣ 
 → ʢΤϯλʔΛೖྗ͢Ε͹্ʹදࣔ͞Ε͍ͯΔσϑΥϧτʢHikaru Maruyama's IDEʣΛ࢖༻ͯ͘͠Ε·͢ʣ 
 
 ࡞੒ʹ͸15෼ఔ౓͔͔Γ·͢ 
 ࡞੒͕׬ྃ͢ΔͱIDEͷURL͕ൃߦ͞ΕΔͷͰɺϒϥ΢βͰΞΫηε͠·͢ 
 ʢacli ide:openίϚϯυͰ΋URLΛ։͘͜ͱ͕Ͱ͖·͢ʣ
  15. 1. Cloud IDEͷ࡞੒ͱىಈ https://www.youtube.com/watch?v=PnAFZFLi9EA

  16. 2. Cloud IDEͷઃఆ • Cloud IDEʹΞΫηε͢ΔͱɺIDEͷ࢖༻Λ։࢝͢Δखॱ͕ه ड़͞ΕͨGet startedϖʔδ͕දࣔ͞Ε·͢ 
 •

    ᶃͷ [CONFIGURE IDE] ϘλϯΛΫϦοΫͯ͠ɺSSHΩʔͷઃ ఆΛߦ͍·͢ 
 ίϯιʔϧͷϓϩϯϓτʹै͏͚ͩͰ؆୯ʹઃఆ׬ྃ͠·͢
  17. https://www.youtube.com/watch?v=y00pSIXPirk 2. Cloud IDEͷઃఆ

  18. 3. ΞϓϦέʔγϣϯͷΠϯϙʔτ • IDEͰ৽͍͠αΠτΛ࡞੒͢Δ͜ͱ΋Ͱ͖·͢͠ɺΫϥ΢υ ؀ڥͷαΠτΛΠϯϙʔτ͢Δ͜ͱ΋Ͱ͖·͢ 
 ͜͜Ͱ͸ޙऀͷํ๏Λ͝঺հ͠·͢ 
 • Get

    startedϖʔδͷᶄͷ [COPY FROM ACQUIA CLOUD] Ϙλ ϯΛΫϦοΫ͠·͢ 
 
 ίϯιʔϧͷϓϩϯϓτʹै͍ɺIDEʹαΠτΛίϐʔ͠·͢
  19. https://www.youtube.com/watch?v=yeNjtxp13Vs 3. ΞϓϦέʔγϣϯͷΠϯϙʔτ

  20. ηοτΞοϓͨ͠ Cloud IDE Λ৮ͬͯΈΑ͏

  21. Cloud IDEͷػೳ Cloud IDEͷศརͳػೳΛ঺հ͠·͢ 1. PHPόʔδϣϯͷมߋ 2. αΠτϓϨϏϡʔΛදࣔ͢Δ 3. ComposerίϚϯυͰϞδϡʔϧΠϯετʔϧ

    4. xDebugͷ࢖༻
  22. Q & A

  23. ͜Ε͔Β Cloud IDE Λ࢖͍࢝ΊΔʹ͸ʁ • 1ͭͷIDE͕ແྉͰ෇͍͖ͯ·͢ʂ • αϒεΫϦϓγϣϯʹ͖ͭɺແྉͷIDEΛҰͭఏڙ • ؾܰʹ࡞੒ͯ͠ɺ࡟আͯ͠ɺ࠶࡞੒ͯ͠ɾɾ

    
 ৭ʑࢼͯ͠Έ͍ͯͩ͘͞ʂ 
 • ΋ͬͱඞཁͳ৔߹͸ʁ • αϙʔτνέοτͷىථ ΋͘͠͸ • Ӧۀ୲౰ʹ͓ؾܰʹ͝࿈བྷ͍ͩ͘͞
  24. Cloud IDEͷΑ͋͘Δ࣭͝໰ Cloud IDEΛ࢖ͬͯΈ͍͚ͨͲͲ͏͢Ε͹ྑ͍Ͱ͔͢ʁ Acquia Cloud PlatformٴͼAcquia Cloud Site FactoryαϒεΫϥΠόʔ͕ར༻ՄೳͰ͢ɻʢྉۚ͸͓໰͍߹Θ͍ͤͩ͘͞ʣ

    
 τϥΠΞϧ؀ڥ͸͋Γ·͔͢ʁ YesɻαϒεΫϦϓγϣϯ͋ͨΓ1ͭͷແྉͷIDE͕͍͖ͭͯ·͢ͷͰɺࢼ͢͜ͱ͕Ͱ͖·͢ɻ ҰͭͷIDEΛෳ਺ਓͰར༻Ͱ͖·͔͢ʁ Noɻ1 IDEʹ͖ͭɺ1໊͔ͭ1ΞϓϦέʔγϣϯͱͳΓ·͢ɻ αϒεΫϦϓγϣϯ಺ͷΞΫςΟϒͳIDE͸Ͳ͜Ͱ֬ೝͰ͖·͔͢ʁ Acquia CLIͰ֬ೝՄೳͰ͢ɻ 
 https://docs.acquia.com/ide/faq/#how-can-i-find-all-active-ides-for-a-subscription-with-multiple-applications
  25. Acquia Cloud Platformೖ໳ ɹΞδΣϯμ • Cloud IDE ͱ͸ • Cloud

    IDE Λ͸͡ΊΑ͏ • ηοτΞοϓͨ͠ Cloud IDE Λ৮ͬͯ ΈΑ͏ • Q&A DrupalΞϓϦέʔγϣϯ։ൃΛ ࢝ΊΔ [Cloud IDEฤ]
  26. ࢀߟࢿྉ • Cloud IDE υΩϡϝϯτ 
 https://docs.acquia.com/ide/ • Cloud IDE

    ϛχγϦʔζ (Youtube) 
 https://www.youtube.com/playlist?list=PLpVC00PAQQxF8RfKoJSFBOivucUV3ZgTi • Acquia CLI υΩϡϝϯτ 
 https://docs.acquia.com/acquia-cli/
  27. None