diff options
author | jwansek <eddie.atten.ea29@gmail.com> | 2022-05-01 16:03:24 +0100 |
---|---|---|
committer | jwansek <eddie.atten.ea29@gmail.com> | 2022-05-01 16:03:24 +0100 |
commit | abc7f067ff20bc2bd07d9236c30055549481547c (patch) | |
tree | d486cb4efda107633bcf243e5f60fdebd7094e5f /docs/source/docker.rst | |
parent | ee1b57ec6197c554f3c011f9a648e2222d845994 (diff) | |
download | Smarker-abc7f067ff20bc2bd07d9236c30055549481547c.tar.gz Smarker-abc7f067ff20bc2bd07d9236c30055549481547c.zip |
Finished plagarism detector, added docs
Diffstat (limited to 'docs/source/docker.rst')
-rw-r--r-- | docs/source/docker.rst | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/source/docker.rst b/docs/source/docker.rst index 7c3237a..232c7f4 100644 --- a/docs/source/docker.rst +++ b/docs/source/docker.rst @@ -41,4 +41,10 @@ To list assessments in the database using docker: .. code-block:: bash - sudo docker run -it --entrypoint python --rm smarker assessments.py --list yes
\ No newline at end of file + sudo docker run -it --entrypoint python --rm smarker assessments.py --list yes + +.. code-block:: bash + + touch out/report.pickle && sudo docker run -v "$(pwd)/out/report.pickle":/Smarker/plagarism_report_details.pickle -it --entrypoint python --rm smarker assessments.py --plagarism_report example + +If a file doesn't exist before it's passed through as a volume in docker, it will be created automatically as a *directory*- this causes issues if the docker image produces a file so we make a blank file first.
\ No newline at end of file |