Docker can be used to setup a local development environment:
- Ensure Docker is installed (Docker Desktop is a good option for developers)
- From the root of this project, run
npm run up
- The fully configured site can now be accessed on http://localhost:8072
- The prompt to run the setup wizard can be dismissed unless there is something specific you would like to configure
To shutdown:
- Use
npm run down
to stop the running containers - The state of the environment will be persisted in
docker/wordpress
anddocker/data
. To restart the environment simply runnpm run up
again. To start afresh, delete these folders and letnpm run up
re-create them.