Cli/ref/mw docker mediawiki fresh

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

Synopsis
Runs commands in a ‘fresh’ container.

Various environment variables are already set up for you. - MW_SERVER=http://default.mediawiki.mwdd:${PORT} - MW_SCRIPT_PATH=/w - MEDIAWIKI_USER=Admin - MEDIAWIKI_PASSWORD=mwddpassword

Note: the lack of .localhost at the end of the site name. Using .localhost will NOT work in this container. mw docker mediawiki fresh ... [flags]

Examples
# Start an interactive terminal in the fresh container fresh bash # Run npm ci in the currently directory (if within mediawiki) fresh npm ci                                   # Run npm ci in the current directory (if within mediawiki) # Run mediawiki core tests (when in the mediawiki core directory) fresh npm run selenium-test # Run a single Wikibase extension test spec (when in the Wikibase extension directory) fresh npm run selenium-test:repo -- -- --spec repo/tests/selenium/specs/item.js

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 --verbosity int   verbosity level (1-2) (default 1)