Welcome back to “Skills Upgrade” a Talking Drupal mini-series following the journey of a D7 developer learning D10. This is episode 3.

Topics * Review Chad's goals for the previous week

+ DDEV performance improvements
+ Install Drupal 10
+ Install drupal/core-dev
+ Configure and test phpcs
+ Test phpstan
+ settings.local.php
+ Install Devel module
  • Review Chad's questions

    • Rancher Desktop appears to be holding on to port 443 after I installed it. Although I changed the port to something else, do you have any suggestions to update the setup to use ports 443 and 80 instead?
    • How are tools like phpcs and PHPStan used by the Drupal community for contrib? Are they a part of drupal.org's testing automation?
    • Starting a new D10 website from scratch in DDEV is one thing … How would I typically work with an existing D10 website? Do I start with the community config, then overwrite the code, database, and files? Is there a better approach?
    • Tasks for the upcoming week

    • Install Drush using Composer

    • Examples module

      • https://drupal.org/project/examples

        • routes/controllers/forms
      • Review: https://www.drupal.org/docs/drupal-apis/routing-system/introductory-drupal-routes-and-controllers-example

      • Go through the "Page example" module from the Examples module.

        • Check back for "docker context use rancher-desktop" stuff.
        • Create a new Git repository for your D10 site with Composer dependencies not committed to the repository.
      • .gitignore stuff

      • cp web/example.gitignore web/.gitignore
      • Create ./.gitignore with:

/vendor /web/core /web/modules/contrib/ /web/themes/contrib/ /web/profiles/contrib/ /web/libraries/ *.sql.gz Resources Chad's Drupal 10 Learning Curriclum & Journal Chad's Drupal 10 Learning Notes

The Linux Foundation is offering a discount of 30% off e-learning courses, certifications and bundles with the code, all uppercase DRUPAL24 and that is good until June 5th https://training.linuxfoundation.org/certification-catalog/

Hosts AmyJune Hineline - @volkswagenchick

Guests Chad Hester - chadkhester.com @chadkhest Mike Anello - DrupalEasy.com @ultimike