README.md 986 Bytes
Newer Older
Mhurd's avatar
Mhurd committed
1
Quickly spin up a MediaWiki instance with the CampaignEvents extension.
Mhurd's avatar
Mhurd committed
2
3
4

## Installation 

Mhurd's avatar
Mhurd committed
5
6
Ensure you have [Docker Desktop](https://www.docker.com/products/docker-desktop) installed.

Mhurd's avatar
Mhurd committed
7
Clone this repo:
Mhurd's avatar
Mhurd committed
8

9
    git clone https://gitlab.wikimedia.org/mhurd/webteam-docker-make.git
Mhurd's avatar
Mhurd committed
10
11
12

## Usage

13
Switch to the `webteam-docker-make` directory:
Mhurd's avatar
Mhurd committed
14

15
    cd ~/webteam-docker-make
Mhurd's avatar
Mhurd committed
16

17
Use this command to spin up MediaWiki with various extension useful for testing web team bits:
Mhurd's avatar
Mhurd committed
18
19
20
-   ```
    make
     ```
21
    - Fetches the latest MediaWiki into `~/webteam-docker-make/mediawiki-docker-make/mediawiki/`
Mhurd's avatar
Mhurd committed
22
    - Fetches extensions into `~/webteam-docker-make/mediawiki-docker-make/mediawiki/extensions/`
23
24
25
    - Configures MediaWiki to use those extensions
    - Spins up Docker containment to serve MediaWiki pages
    - Opens a special page ( Note: you can log in using 'Admin' and 'dockerpass' )
Mhurd's avatar
Mhurd committed
26

27
See this [Makefile](https://gitlab.wikimedia.org/mhurd/mediawiki-docker-make) for other supported make commands.