Skip to content

CGAL/cgal-mediawiki

This branch is 21 commits ahead of SaillantNicolas/cgalmediawiki:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

37c5366 · Jan 21, 2025

History

43 Commits
Jan 21, 2025
Jan 21, 2025
Jan 17, 2025
Jul 3, 2024
Jan 21, 2025
Dec 20, 2024
Jul 31, 2024
Jan 21, 2025
Dec 20, 2024
Jan 21, 2025
Jan 21, 2025
Jan 21, 2025
Jan 17, 2025
Jan 21, 2025
Jan 21, 2025
Jan 21, 2025
Jan 21, 2025
Jan 21, 2025
Jan 21, 2025
Jan 21, 2025
Jan 17, 2025
Jan 21, 2025
Sep 10, 2024
Jan 21, 2025
Jul 10, 2024
Jan 21, 2025
Jan 21, 2025
Jul 4, 2024
Jul 31, 2024
Aug 22, 2024
Jul 31, 2024

Repository files navigation

Setup and Installation

Clone the repository:

git clone https://github.com/SaillantNicolas/cgalmediawiki.git
cd cgalmediawiki

Copy a dump of the database in db-init/.

Then build and start the Docker containers:

If the dump of the database is from a Mediawiki version older than 1.31, you need to update the database schema:

docker-compose --profile update_db run update_db

If you are updating the database schema for wiki editors, use the following command instead:

docker-compose --profile update_db run update_db_editors

Otherwise, you can start the containers directly:

docker-compose --profile test up

or:

docker-compose --profile production up -d

To run directly into podman

system podman

Start the podman.socket unit with systemctl.

Then:

export DOCKER_HOST=unix:///run/podman/podman.sock
export CONTAINER_HOST=unix:///run/podman/podman.sock

or:

source ./system-podman.env

rootless podman

Or, using the rootless user podman:

export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/podman/podman.sock
export CONTAINER_HOST=unix://$XDG_RUNTIME_DIR/podman/podman.sock

or:

source ./user-podman.env

Then, you can run the commands as usual.

About

Mediawiki installation for cgal.geometryfactory.com

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 84.7%
  • Shell 13.0%
  • Dockerfile 2.3%