Skip to content
Permalink
main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Latest commit a04e7e2 May 3, 2024 History
1 contributor

Users who have contributed to this file

Submission Document Builder

Author: Dr Ian Cornelius, ab6459@coventry.ac.uk Modules:

  • 4017CMD: Introduction to Programming
  • 5039CMD: Programming and Operating Systems

Requirements

To build the document for submission, you are required to install the following third-party tools:

Python Requirements

The Python script requires installing the following third-party modules:

  • pandoc-include

The module can be installed by either one of the following commands:

python3 -m pip install pandoc-include

or:

python3 -m pip install -r requirements.txt

Using the Script

If you have not done so already, you will want to clone this repository to your local machine. This can be achieved by using the following command:

git clone https://github.coventry.ac.uk/ab6459/Submission_Document_Builder

With the script successfully cloned to your machine, you need to place the source code files you want in the submission document inside the directory called src. It is important that you only include the files in this directory that you want marking.

With the documents placed in the src folder, you then need to edit the config.py file. This file contains two global variables: GIT_REPO_LINK and STUDENT_ID. You must change the value of these variables to:

  • GIT_REPO_LINK: the Git repository link you want marking
  • STUDENT_ID: your student identification number
    • this can be found on your student card

You must ensure that the Git repository link is correct, and is located inside the organisation for the module you are submitting for. For example, if you are submitting coursework for 4017CMD, you must use the organisation with 4017CMD in its title, i.e. http://github.coventry.ac.uk/4017CMD-23-24/STUDENTID_IPA_A1.

Once you have edited the config.py file, you can execute the Python script using the following command:

python3 create_submission_document.py

This will create the PDF submission document required for TurnItIn. The generated file will be located in the directory called out.

Issues?

If you are struggling to use this script, or having any issues, you can contact Dr Ian Cornelius via e-mail. His e-mail address is ab6459@coventry.ac.uk.