This repository contains the docker container, software configuration and development tools for the Consumer Rights Wiki.
- Docker
- make
For Windows users we recommend using the Windows Subsystem for Linux (WSL).
- Clone submodules
git submodule init git submodule update
- Configure a .env file (see .env.example for reference).
- Start the development instance
make run
- Initiate the database
make init
Mediawiki requires you to run a update script occasionally (with changes to extensions or other database updates).
You can run this maintanance script manually by running the following command:
make updateMediawiki uses a job-queue based system for specific maintanance tasks, this command is automatically run inside the container by a cron-job. However you can manually run the maintanance script by running the following command:
make run-jobs- docker-compose.yml - Docker compose configuration for development
- Dockerfile - Docker container build instructions
- conf/* - Software configuration files
- conf/LocalSettings.php - Main Mediawiki configuration file
- conf/LocalSettings/* - Additional Mediawiki configuration
- extensions/* - Mediawiki extensions (Git submodules)
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.