The instructions here are for the installation of a Plom server. This not required by your markers; they only need to install the Plom client.
You can either use Docker to run a server or install Plom from source.
docker pull plomgrading/server docker run -it --rm -p 41984:41984 plomgrading/server
By default, this will launch a demo server.
The data for the test is in
/exam inside the Docker image. You can use your own local directory with
mkdir my_test docker run -it --rm -P -v $PWD/my_test:/exam plomgrading/server
-P will use a random high port on the host).
You can override the default command, for example:
docker run -it --rm -v $PWD/my_test:/exam plomgrading/server plom-build new --demo docker run -it --rm -v $PWD/my_test:/exam plomgrading/server plom-server init docker run -it --rm -v $PWD/my_test:/exam plomgrading/server plom-server users --demo docker run -it --rm -P -v $PWD/my_test:/exam plomgrading/server plom-server launch
Alternatively you can get a shell and work inside the image:
docker run -it --rm plomgrading/server /bin/bash plom-build new --demo
You can also connect a shell to a running image using
docker exec -it <name> /bin/bash
<name> can found using
docker ps; its something like
Plom requires a number of components: installation is documented here for GNU/Linux and here for macOS. (Those links point to the development sources; they may need to be adjusted if you are using an earlier release.)
$ pip3 install plom
You will then be able to run the various Plom commands. Try running
plom-build and you should see something like:
$ plom-build --version plom-build 0.5.0
You really only need to do this if you want to take a look at the source code. You will need to have a working
$ git clone https://gitlab.com/plom/plom/
There is a lot in the repo and we apologise that some of the documentation in the repo is out of date. We really need codevelopers to help!
You are ready to run a demo.