Local development
The application repository includes a Docker Compose setup for local development. Follow its Local development guide for the complete setup and commands.
Before starting
- Install Git and Docker with the Docker Compose v2 plugin.
- Use a dedicated development S3 bucket in
ca-central-1. The repository does not configure an S3 emulator, and uploads or deletes operate on the selected bucket even whenAPP_ENV=development. - Configure local-only values for the application URL, S3 access, API
authentication, and encryption. Keep
.env, credentials, JWTs, and other secrets out of version control. - Prepare the writable metadata, cache, and log paths for the Apache container.
Do not use production credentials or data for local development. Keep the development service private; the Compose configuration exposes it on the host’s network interfaces.
Authentication testing
The repository’s browser tests simulate parts of the WordPress authentication
flow but do not require a local WordPress site. Start at
/tests/write_csrf.php as described in the README and use one hostname
consistently. These diagnostic pages can display tokens; treat those values as
secrets. Cross-site cookies may require HTTPS and browser permission for
third-party cookies, so a local standalone test does not fully verify the live
WordPress embed.
There is no automated test runner configured in the repository. Existing browser tests can perform real S3 operations; use development data and a development bucket.