Difference between revisions of "Pymediawikidocker"
Jump to navigation
Jump to search
| Line 22: | Line 22: | ||
= How it works = | = 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. | 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 == | ||
| + | <source lang='bash'> | ||
| + | pip install pymediawikidocker | ||
| + | # alternatively if your pip is not a python3 pip | ||
| + | pip3 install pymediawikidocker | ||
| + | </source> | ||
| + | === upgrade === | ||
| + | <source lang='bash'> | ||
| + | pip install pymediawikidocker -U | ||
| + | # alternatively if your pip is not a python3 pip | ||
| + | pip3 install pymediawikidocker -U | ||
| + | </source> | ||
= Links = | = Links = | ||
* [https://www.wikidata.org/wiki/Q83 Wikidata entry for Mediawiki software] | * [https://www.wikidata.org/wiki/Q83 Wikidata entry for Mediawiki software] | ||
Revision as of 05:53, 22 June 2021
OsProject
| OsProject | |
|---|---|
| id | pymediawikidocker |
| state | |
| owner | WolfgangFahl |
| title | Python controlled mediawiki docker image installation |
| url | https://github.com/WolfgangFahl/pymediawikidocker |
| version | 0.0.1 |
| description | |
| date | 2021-06-08 |
| since | |
| until | |
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