Skip to content

Latest commit

 

History

History
65 lines (43 loc) · 1.07 KB

README.md

File metadata and controls

65 lines (43 loc) · 1.07 KB

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 run update_db

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.