At work I use Linux, but at home I prefer Windows due to gaming. In this short Tutorial I would like to share my Windows setup with you.
My recommended setup includes:
- WSL 2
- Docker Desktop for Windows
- Ubuntu / Debian
- GWSL (X-Server for Windows)
- Development Docker setup or my own Docker setup. (We will use my own in this tutorial)
At first we need to install WSL 2 and Docker Desktop. Please follow the tutorials below.
Configuration adjustments for GWSL and Docker
- Click on the GWSL taskbar icon
- Choose GWSL Distro Tools
- Enable Auto-Export Display
and configure Firewall like in Documentation
- Enable integration for additional distros in Docker settings:
We can now start the Ubuntu shell and download PhpStorm for Linux and unpack it in a suitable folder e.g.
In order to start PhpStorm, run the shell script
bin/phpstorm.sh in the unpacked folder from the Ubuntu shell (e.g.
~/Apps/PhpStorm/bin/phpstorm.sh). After that you should see the PhpStorm GUI running within Windows. PhpStorm will stop when you close this Ubuntu shell.
You can use GWSL also to create a Windows Shortcut to launch PhpStorm. For more information refer to the GWSL documentation.
To fix the Markdown viewer you will need to install some additional dependencies for the browser in Ubuntu:
Install SWDC (Shopware Docker Control)
At first we need to clone the repository
That should be all to have an installed
swdc. Next we will install one example SW6 setup with the production template:
After this step we have Shopware 6 installed at
sw6.dev.localhost. You may need to create a hosts entry to reach the domain (127.0.0.1). Adminer is running at
The swdc command-line contains some helpers like:
Limiting WSL 2 Resources
By default WSL uses up to 80% of your Resources. You can limit them by creating a
.wslconfig file in your Home directory in Windows.
We have a running WSL 2 with Docker, X-Server and SWDC. We can open the shop in the browser and use the admin and storefront watcher. To see all capabilities of
swdc see Repository.