...
Install WSL2 from the Microsoft Store and VS Code. You don’t need anything else! ✨
Docker Desktop is not necessary if you have WSL2 version 0.67.6 or higher (check
wsl --version
)Install the Dev Containers extension in VS Code
Prepare WSL for docker. This may not be necessary in recent versions of Windows 11
Enable systemd by updating
/etc/wsl.conf
to add:Code Block [boot] systemd=true
Restart WSL (via cmd)
Code Block language bash wsl --shutdown
Install Docker. Follow Docker’s instructions to install
docker-ce
anddocker-compose-plugin
Once installed, add your user to the docker group for later convenience
Code Block language bash sudo usermod -aG docker $USER
Clone the Play repository
Code Block language bash cd ~ git clone git@github.com:Spordle/Play.git play
Open it in VS Code
Code Block language bash code ~/play
Relaunch in the devcontainer
You’ll see a notification in the bottom-right corner suggesting this
You can also relaunch via the Ctrl-P menu by searching for ‘dev containers’
This might take some time as it’s pulling and building a few docker images for the first time
If it fails to launch, the bottom-right notification lets you open the logs to see what the error is exactly. The error popup is usually vague and super misleading.
Follow
README.md
for further instructions on how to install and build Spordle PlayCreate a branch and open your first pull request! 🎉
...