Resources on using ddev for Drupal 9 development, Windows edition

Resources

Here’s a list of resources to get you started with DDEV and Drupal 9. As with setting up any new development (or production) environment there are a lot of moving parts and it take some time to get it all right. This list includes “HowTo” articles, tools, and documentation to get it all set up.

Notes

— After running ddev config and before running ddev start for the fist time use your favorite editor to edit .dev/config.yaml to the following:

name: d9-dev
type: drupal9
docroot: web
php_version: "8.1"
webserver_type: apache-fpm
router_http_port: "80"
router_https_port: "443"
xdebug_enabled: false
additional_hostnames: []
additional_fqdns: []
mariadb_version: ""
mysql_version: "8.0"
nfs_mount_enabled: false
mutagen_enabled: false
use_dns_when_possible: true
composer_version: ""
web_environment: []

This will setup DDEV with MySQL 8, PHP 8.1, Drupal 9, and Apache. This matches the dev environment that CALI is using for D9. Check the DDEV docs for more possibilities.

— The DDEV install includes the latest phpmyadmin to help with mysql admin. It’s available in a local browser at <projectName>.ddev.site:8036. Use phpmyadmin to load a dump of the D9 dev database.

— Once WSL2 is setup, use Ubuntu 20.04 to host DDEV.

— DDEV includes git so that’s a good way to manage Drupal. In the CALI world use git to grab a copy of the current D9 code base.

Free Software Modular Synthesizer For Mac & Windows, Voltage Nucleus

Free Software Modular Synthesizer For Mac & Windows, Voltage Nucleus http://www.synthtopia.com/content/2019/08/19/free-software-modular-synthesizer-for-mac-windows-voltage-nucleus/

New distro’s coming to Bash/WSL via Windows Store – Windows Command Line Tools For Developers

New distro’s coming to Bash/WSL via Windows Store – Windows Command Line Tools For Developers https://blogs.msdn.microsoft.com/commandline/2017/05/11/new-distros-coming-to-bashwsl-via-windows-store

The Verge: These three Windows apps recreate my favorite macOS features

The Verge: These three Windows apps recreate my favorite macOS features. http://google.com/newsstand/s/CBIwnYuQ7DQ

VentureBeat: Microsoft releases new Windows 10 preview with Compact Overlay, Dynamic Lock, and improved Game Bar

VentureBeat: Microsoft releases new Windows 10 preview with Compact Overlay, Dynamic Lock, and improved Game Bar. http://google.com/newsstand/s/CBIw5JbLsTk

Windows Subsystem for Linux Windows Interoperability Brings Linux Commands to Windows CLI

The Windows Subsystem for Linux can invoke native Windows binaries and be invoked from a Windows command line. This feature is available to Windows 10 users running Anniversary Update build 14951. This new interoperability functionality delivers a seamless experience between Windows and WSL. Technical details on how this interoperability works can be found on the WSL blog.

Source: Windows Interoperability | MSDN

This is pretty cool. From either command prompt (CMD) or PowerShell you can use the syntax bash -c “ls -la” to invoke basic Linux commands without launching the Ubuntu environment. More advanced tools like curl are also available.

The article indicates the reverse is also true but I wasn’t able to get Windows binaries running from the bash window. I don’t know if it’s a bug or something about my configuration.

 

Microsoft Removes 260-Character Path Length Limit In Windows 10 Redstone – Slashdot

Microsoft Removes 260-Character Path Length Limit In Windows 10 Redstone – Slashdot http://m.slashdot.org/story/311861

Removing the path length limit asking with the addition of native bash and Ubuntu functionality should help make Windows machines more appealing to a broader range of developers.

Windows 10: How to add Ubuntu Bash to the Start menu – TechRepublic

Windows 10: How to add Ubuntu Bash to the Start menu – TechRepublic http://www.techrepublic.com/article/windows-10-how-to-add-ubuntu-bash-to-the-start-menu/#ftag=RSS56d97e7

Why Microsoft needed to make Windows run Linux software | Ars Technica

Why Microsoft needed to make Windows run Linux software | Ars Technica http://arstechnica.com/information-technology/2016/04/why-microsoft-needed-to-make-windows-run-linux-software/

After all the hoopla has faded a bit Ars Technica takes an insightful look at the likely reasons that Microsoft made the strategic decision to add Linux support to Windows.