Difference between revisions of "Pymediawikidocker"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
|title=Python controlled mediawiki docker image installation | |title=Python controlled mediawiki docker image installation | ||
|url=https://github.com/WolfgangFahl/pymediawikidocker | |url=https://github.com/WolfgangFahl/pymediawikidocker | ||
− | |version=0.0. | + | |version=0.0.7 |
− | |date=2021-06- | + | |date=2021-06-22 |
|storemode=property | |storemode=property | ||
}} | }} | ||
+ | =Freitext= | ||
= Motivation = | = Motivation = | ||
[https://hub.docker.com/_/mediawiki Official Mediawiki docker images] are available for the different Mediawiki versions. | [https://hub.docker.com/_/mediawiki Official Mediawiki docker images] are available for the different Mediawiki versions. |
Revision as of 06:00, 22 June 2021
OsProject
OsProject | |
---|---|
edit | |
id | pymediawikidocker |
state | |
owner | WolfgangFahl |
title | Python controlled mediawiki docker image installation |
url | https://github.com/WolfgangFahl/pymediawikidocker |
version | 0.0.7 |
description | |
date | 2021-06-22 |
since | |
until |
Freitext
Motivation
Official Mediawiki docker images are available for the different Mediawiki versions.
These images need additional infrastructure to create useable Mediawiki environments. The goal of this project is to semi-automatically create such environments and test the functionality. Python was choosen to as a development environment for the libraries that are needed and available to perform the tasks:
python on whales was chosen over:
Since it supports docker compose.
How it works
The core concept is a "MediawikiCluster" that is a set of docker applications that run MediaWiki instances with varying versions of MediaWiki and the underlying database.
Installation
via pip
pip install pymediawikidocker
# alternatively if your pip is not a python3 pip
pip3 install pymediawikidocker
upgrade
pip install pymediawikidocker -U
# alternatively if your pip is not a python3 pip
pip3 install pymediawikidocker -U
Usage
usage: mwcluster [-h] [-d] [-V] [-f]
mwcluster
Created by Wolfgang Fahl on 2021-06-21.
Copyright 2021 Wolfgang Fahl. All rights reserved.
Licensed under the Apache License 2.0
http://www.apache.org/licenses/LICENSE-2.0
Distributed on an "AS IS" basis without warranties
or conditions of any kind, either express or implied.
optional arguments:
-h, --help show this help message and exit
-d, --debug set debug level [default: False]
-V, --version show program's version number and exit
-f, --forceRebuild shall the applications rebuild be forced (with stop and remove of existing containers)