Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fiocruzlivre/mediawiki-development
A development environment for Mediawiki
https://github.com/fiocruzlivre/mediawiki-development
docker docker-compose mediawiki mediawiki-containers mediawiki-docker php
Last synced: 2 days ago
JSON representation
A development environment for Mediawiki
- Host: GitHub
- URL: https://github.com/fiocruzlivre/mediawiki-development
- Owner: FiocruzLivre
- License: agpl-3.0
- Created: 2024-03-17T01:00:07.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-08-15T23:22:10.000Z (6 months ago)
- Last Synced: 2024-11-29T14:49:09.572Z (2 months ago)
- Topics: docker, docker-compose, mediawiki, mediawiki-containers, mediawiki-docker, php
- Language: PHP
- Homepage:
- Size: 27.3 KB
- Stars: 0
- Watchers: 7
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mediawiki development environment
A development environment for Mediawiki
## Setup development environment
Clone your project to folder `volumes/src`
Example:
```bash
git clone https://github.com/youroganization/repositoryname volumes/src
```
To each file that you want to override from your project into mediawiki, you will need to put inside folder volumes/src/mediawiki and run the follow command:```yaml
docker compose exec mediawiki php /var/www/scripts/init.php
```
Clone the MediaWiki project source, or put your existing mediawiki folder, into `volumes/mediawiki`Example:
```bash
git clone --progress --single-branch --depth 1 --branch 1.41.0 --recurse-submodules -j 4 https://gerrit.wikimedia.org/r/mediawiki/core.git volumes/mediawiki
```Check if you will need to change any default environment value at `docker.compose.yml` and if you need to change, create a `.env` file with the custom environments values.
Run the command:
```bash
docker compose up
```
## Install extension```bash
COMPOSER=composer.local.json composer require --no-update mediawiki/page-forms
composer update --no-dev -o
```## Updates if have database change
```bash
php maintenance/update.php --quick
```