The recommended development workflow is:
- Use Visual Studio Code and Docker Desktop
- Install the Remote - Containers extension (see recommended extension)
- Open the Command Palette and choose Remote-Containers: Reopen in Container
This will give you a development Docker container that contains all necessary tools (PHP, Node, Yarn) and that can be edited directly from within Visual Studio Code.
You can then start a development web server by calling the following via the integrated terminal in VSCode. (This should start automatically but if it isn't, simply click the "+" button in the "Terminal" window.)
./start-server.sh
The web site is then reachable via: http://localhost:8080
To stop the web server again, hit Ctrl + C
.
To rebuild the container, open the Command Palette and choose Remote-Containers: Rebuild Container.