For debugging purposes, it might be helpful to run mwlib locally. This is a minimal docker-compose setup to do so.
Please open a number of terminals and start the following processes:
- nserve localhost:8090
- mw-qserve -p 8090 -i localhost
- nslave --cachedir ./cache --host localhost --port 8090 --url https://newtools.pediapress.com/cache --numprocs 2 -c makezip
- nslave --cachedir ./cache --host localhost --port 8090 --url https://newtools.pediapress.com/cache --numprocs 2 -s makezip --serve-files-port 9123
- postman --port 8090 --host localhost
Then, in a separate terminal, run the following command: 6. docker-compose -f docker-compose-only-mediawiki.yml up