Cli/ref/mw docker mediawiki fresh

mw docker mediawiki fresh
Runs commands in a ‘fresh’ container.

Synopsis
= MediaWiki Fresh =

A Fresh environment is a fast and ready-to-use Docker container with various developer tools pre-installed. Including Node.js, and headless browsers. It aims to help to run npm packages on your machine, without putting your personal data at risk!

Some default environment variables will be provided for you in the fresh container.

Usage
Note: the lack of  at the end of the site name. Using  will NOT work in this container.

Start an interactive terminal in the fresh container

Run npm ci in the currently directory (if within mediawiki)

Run mediawiki core tests (when in the mediawiki core directory)

Run a single Wikibase extension test spec (when in the Wikibase extension directory)

Documentation

 * fresh

mw docker mediawiki fresh [flags] [fresh-commands]... -- [fresh-args]

Options
-u, --user string  User to run as, defaults to current OS user uid:gid (default &quot;1000:1000&quot;)

Options inherited from parent commands
--help            Help for this command --no-interaction  Do not ask any interactive questions -v, --verbose count   Increase output verbosity. Example: --verbose=2 or -vv