Clone this repo:
  1. fe4d0b0 build: Updating mediawiki/mediawiki-phan-config to 0.15.0 by libraryupgrader · 8 days ago master
  2. c4f8dc4 Add wmf-certificates to video variants by Scott French · 5 days ago
  3. 7a2d703 Merge "Pass pcov options to child process" by jenkins-bot · 2 weeks ago
  4. 95e282a build: Updating phpunit/phpunit to 9.6.21 by libraryupgrader · 3 weeks ago
  5. 878d2ad Pass pcov options to child process by Antoine Musso · 4 weeks ago

Shellbox

Shellbox is a library and server for containerized shell execution.

More information on how to set up and configure Shellbox is available at https://www.mediawiki.org/wiki/Shellbox.

Set up your dev environment

Granted you have docker-compose installed, and that you can issue docker commands as your user, you can have a working development setup by running

$ make run

this will build an appropriate container for your application (if not present) and run the whole httpd/php-fpm combo for you, and listen on port 8080. It will use your local source as a volume, so you will be able to see changes in the code reflected in responses from the daemon instantly.

If you change the dependencies, and thus composer.json or composer.lock, you will have to force a rebuild of the container, by using

$ make rebuild

To run the tests that run in CI locally (also via docker), you need can use make test.