A simple example to run MFP (https://github.com/mapfish/mapfish-print) using docker
For a docu on MFP see: http://mapfish.github.io/mapfish-print-doc/
- Clone the project:
$ git clone git@github.com:marionb/mfp_examples.git
- Enter the folder:
$ cd mfp_examples
- To see all the oprions run
$ make
To show the logs run:
docker-compose logs -f print
Enter the print container:
docker exec -it <name_of_cntainer> bash
- This pulls a docker image with a MFP image and runs it.
- Once you run
make serve
you can:- use the user interface from a browser under http://localhost:8680/
- or run the simple print from the comandline:
$ make generate-show
- This is intended to generate a simple application to play with MFP. To do so you can modify the config and the templates in:
There are also mire instructions and information in this presentation: https://marionb.github.io/mfp_AGIT_2020/mfp_AGIT_2020.html