PKC Data Package
Jump to navigation
Jump to search
PKC Data Package is a compressed file in the tar.gz format. It contains all configuration information of a PKC.
For the smallest initial data set, once DockerizedPKC is cloned from Github.com, one can follow the following procedure to create a fully functional PKC Data Package from scratch.
Clone DockerizedPKC from Github
Clone DockerizedPKC from [1]
git clone http://github.com/benkoo/DockerizedPKC cd DockerizedPKC
Temporarily hide LocalSettings.php file from MediaWiki
Temporarily comment out the volume entry of - ./mountPoint/LocalSettings.php in the file: docker-compose.yml
under the DockerizedPKC
project home directory.
# - ./mountPoint/LocalSettings.php
Configure your version of MediaWiki
- Kickoff the Docker-compose process to start both database and mediawiki services:
docker-compose up -d
- Use a browser and enter the URL:
http://localhost:9352
- Go through the configuration process
- A typical setting for PKC is shown here: PKC MediaWiki configuration data
- Download the newly generated
LocalSettings.php
file and put that file under the./mountPoint
directory underDockerizedPKC
project - Stop the Docker-compose process
docker-compose down
- Uncomment the entry in
docker-compose.yml
file (take out the#
in front of the- ./mountPoint/LocalSettings.php
entry. - Kickoff the Docker-compose process again to start both database and mediawiki services:
docker-compose up -d
- Use a browser and enter the URL:
http://localhost:9352
, and you should see MediaWiki running.