Development Creative Commons (CC) Public Wiki
The aim of the project is to establish a robust and localized development environment for MediaWiki using Docker. This repository should represent the most advanced and closest implementation of the CC Public Wiki.
The Creative Commons team is committed to fostering a welcoming community. This project and all other Creative Commons open source projects are governed by our Code of Conduct. Please report unacceptable behavior to conduct@creativecommons.org per our reporting guidelines.
See CONTRIBUTING.md and the Development
section, below.
The docker-compose.yml file defines the following
containers:
- web - Web server (Apache2/MediaWiki)
- db - Database server (MySQL)
See config/web-sites-available/000-default.conf.
| Name | Version | Notes |
|---|---|---|
| MediaWiki | 1.43.6 |
Packaged for Debian 13 (trixie) |
Also see:
- creativecommons/index-dev-env: Local development environment for CreativeCommons.org (product name: index)
- creativecommons/sre-salt-prime: Site Reliability Engineering / DevOps SaltStack configuration files
- Install dependencies
macOS installation example:
brew install hadolint prek railway rsync shellcheck
- Docker (Get Docker | Docker Docs)
- Install hadolint (Install - hadolint/hadolint)
- Install prek (Installation - j178/prek)
- Install Railway CLI (Installing - CLI | Railway Docs)
- Install Rsync (rsync download)
- Install shellcheck (Installing - koalaman/shellcheck)
- Prepare and install prek Git hooks:
prek install --prepare-hooks
- Create the enviornment
.envfile by copying.env.example:cp .env.example .env
- Update
.envto ensure all variable have appropriate values. - Build and start Docker:
docker-compose up
- Wait for the build and initialization to complete