Install DDEV using windows installer, download it from
release page
Show archive.org snapshot
.
After installing DDEV in WSL2 Ubuntu terminal. Note: do not install in Windows.
How to Launch VS Code
Ref DDEV PR #5979 Show archive.org snapshot
It's important that VS Code is launched within WSL2. There are 2 methods to do this: from the command line and from VS Code. For the first method, open a WSL2 terminal (e.g. the default distro Ubuntu),
cdto the root of your project, then runcode .. Refer to the Microsoft doc Show archive.org snapshot for more information.
Composer
Run composer prefix with "ddev", for example:
$ ddev composer require kiatng/openmage-shooter
Useful Commands
$ ddev phpmyadmin # Install and launch PMA
$ ddev poweroff # Shut down DDEV
$ ddev start # Start DDEV
kiat@LivenPC:~/openmage$ ddev describe
+-----------------------------------------------------------------------------------+
¦ Project: openmage ~/openmage https://openmage.ddev.site ¦
¦ Docker platform: docker-desktop ¦
¦ Router: traefik ¦
+-----------------------------------------------------------------------------------¦
¦ SERVICE ¦ STAT ¦ URL/PORT ¦ INFO ¦
+------------+------+------------------------------------------+--------------------¦
¦ web ¦ OK ¦ https://openmage.ddev.site ¦ magento PHP8.3 ¦
¦ ¦ ¦ InDocker: web:443,80,8025 ¦ apache-fpm ¦
¦ ¦ ¦ Host: 127.0.0.1:60336,60337 ¦ docroot:'' ¦
¦ ¦ ¦ ¦ Perf mode: mutagen ¦
¦ ¦ ¦ ¦ NodeJS:20 ¦
+------------+------+------------------------------------------+--------------------¦
¦ db ¦ OK ¦ InDocker: db:3306 ¦ mariadb:10.4 ¦
¦ ¦ ¦ Host: 127.0.0.1:60335 ¦ User/Pass: 'db/db' ¦
¦ ¦ ¦ ¦ or 'root/root' ¦
+------------+------+------------------------------------------+--------------------¦
¦ phpmyadmin ¦ OK ¦ https://openmage.ddev.site:8037 ¦ ¦
¦ ¦ ¦ InDocker: phpmyadmin:80,80 ¦ ¦
+------------+------+------------------------------------------+--------------------¦
¦ Mailpit ¦ ¦ Mailpit: https://openmage.ddev.site:8026 ¦ ¦
¦ ¦ ¦ Launch: ddev mailpit ¦ ¦
+------------+------+------------------------------------------+--------------------¦
¦ All URLs ¦ ¦ https://openmage.ddev.site, ¦ ¦
¦ ¦ ¦ https://127.0.0.1:60336, ¦ ¦
¦ ¦ ¦ http://openmage.ddev.site, ¦ ¦
¦ ¦ ¦ http://127.0.0.1:60337 ¦ ¦
+-----------------------------------------------------------------------------------+
OpenMage Backend Page
The configuration file is located here: .ddev/commands/web/openmage-admin
The URL is https://openmage.ddev.site/admin.
User: admin
Password: veryl0ngpassw0rd