Jump to content

User:Legoktm/phan

From mediawiki.org
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Running phan the super simple docker way

Your filesystem layout needs to look like (the core folder can have any name):

core/
core/skins/
core/skins/Timeless

Once you're in the Timeless directory, run:

composer update
docker run -v $(pwd)/../..:/mediawiki --env THING_SUBNAME=skins/Timeless -it --rm docker-registry.wikimedia.org/releng/mediawiki-phan:latest

Depending on permissions, you might need to run the docker command as root (with sudo). After you make some changes, just run the docker command again.