WARNING: This container is still under development.
Containerized MediaWiki setup + Citolytics demo.
- Install Docker (docker + docker-engine) and Docker Compose (docker-compose)
Run the following commands (as root) and afterwards the MediaWiki will be available at http://localhost
(port 80):
git clone https://github.com/mschwarzer/citolytics-docker.git
cd citolytics-docker
mkdir -p data/es; chmod 777 data/es
sudo docker-compose up
docker run -it mediawiki /scripts/get-data.sh
This following command runs the EventLogging parser script in the MediaWiki container and sends the date to the MySQL container.
sudo docker run -it mediawiki python /scripts/eventlogging/process_logs.py --db-host mysql --override
sudo docker cp mediawiki:/var/log/nginx/events.log /srv/wikisim/events.log.$(date +%s)
- Tests
MIT