Creative Commons (CC) Public Wiki
The goals of this project are to:
- Maintain the Package public-wiki in support of the CC Public Wiki remote production Railway environment
- Maintain the CC Public Wiki local Docker development environment
- Maintain parity between production and development environments
Production website: 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)
- 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
See the config/configure_* configuration scripts called from [config/startupservice.sh][config/startupservice.sh].
| Name | Version | Notes |
|---|---|---|
| MediaWiki | 1.43.6 |
Packaged for Debian 13 (trixie) |
Also see:
The legacy migration directory has been deleted. Links below are to commit e1ea34af3cc8151df8e73d80b2d0c2e7dff2d5e8.