summaryrefslogtreecommitdiffstats
path: root/docs/source/index.rst
blob: f2d74262a6a97851f3e04c614b18aeca5b7a50b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
.. mdinclude:: readme.md

Read the :ref:`quickstart`.

Setting up
----------

* Set up a MySQL/MariaDB server. The database will be generated automatically.
* Add ``smarker.conf`` to the root directory of the code. See :ref:`configfile` for the structure of this file.
* Decide how you want to run the program: with or without docker.
* Add an assessment yaml- :ref:`assessmentyaml`.
* Enroll students: ``python3 Smarker/assessments.py -s 123456789,Eden,Attenborough,E.Attenborough@uea.ac.uk``

``smarker.py`` usage
********************

Now we are ready to make some reports! For which we use the main file ``smarker.py``:

.. argparse::
   :module: smarker
   :func: getparser
   :prog: python Smarker/smarker.py

Please note that the ``-o`` flag is required for rendering to PDFs.

``assessments.py`` usage
************************

``assessments.py`` contains many useful arguments for interacting with the database:

Also see :ref:`assessments`

.. argparse::
   :module: assessments
   :func: getparser
   :prog: python Smarker/assessments.py

.. toctree::
   :maxdepth: 2
   :caption: Modules:
   
   reflect.rst
   database.rst
   assessments.rst

.. toctree::
   :maxdepth: 2
   :caption: Other Pages:

   quickstart.rst
   configfile.rst
   docker.rst
   assessmentyaml.rst

Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`