Skip to content
Snippets Groups Projects
Commit 87e03705 authored by Jan Maximilian Michal's avatar Jan Maximilian Michal
Browse files

Merge branch 'README-changes' into 'master'

Added a brief list of dependencies. Closes #28.

Closes #28

See merge request !7
parents 33e55c83 4d6c0ea4
No related branches found
No related tags found
1 merge request!7Added a brief list of dependencies. Closes #28.
Pipeline #
...@@ -4,10 +4,22 @@ Grady - will correct you! ...@@ -4,10 +4,22 @@ Grady - will correct you!
The intention of this tool is to simplify the exam correcting process at the The intention of this tool is to simplify the exam correcting process at the
University of Goettingen. It is deployed as a Django web application. University of Goettingen. It is deployed as a Django web application.
[![pipeline status](https://gitlab.gwdg.de/j.michal/grady/badges/master/pipeline.svg)](https://gitlab.gwdg.de/j.michal/grady/commits/master) [![pipeline status](https://gitlab.gwdg.de/j.michal/grady/badges/master/pipeline.svg)](https://gitlab.gwdg.de/j.michal/grady/commits/master) [![coverage report](https://gitlab.gwdg.de/j.michal/grady/badges/master/coverage.svg)](https://gitlab.gwdg.de/j.michal/grady/commits/master)
[![coverage report](https://gitlab.gwdg.de/j.michal/grady/badges/master/coverage.svg)](https://gitlab.gwdg.de/j.michal/grady/commits/master) Dependencies
------------
Make sure the following packages and tools are installed:
- Python 3.6
- [`virtualenv`](https://virtualenv.pypa.io/en/stable/)
  • robinwilliam.hundt @robinwilliam.hundt ·
    Maintainer

    Does using virtualenv provide any benefit to the built in venv module? If not, virtualenv should be removed in favor of the built in virtualenv tool.

  • Author Owner

    Absolutely not, I’ll get rid of it.

  • Please register or sign in to reply
- [Docker](https://www.docker.com/) or a local installation of [Postgres](https://www.postgresql.org/)
- `npm` or `yarn` (you can use `npm` to install `yarn`)
- `make`
These are required to set up the project. All other application dependencies are
listed in the `requirements.txt` and the `package.json` files. These will be
installed automatically during the installation process.
Installing Installing
---------- ----------
...@@ -37,8 +49,8 @@ To set up a new instance perform the following steps: ...@@ -37,8 +49,8 @@ To set up a new instance perform the following steps:
Some systems (like Ubuntu Xenial) come with a preinstalled "yarn - Some systems (like Ubuntu Xenial) come with a preinstalled "yarn -
scenario testing of Unix command line tools". Using this will scenario testing of Unix command line tools". Using this will
**not** work. The \[yarn package **not** work. The [yarn package
manager\](<https://yarnpkg.com/en/docs/install>) is needed. manager](<https://yarnpkg.com/en/docs/install>) is needed.
4. Set up a Postgres 9.5 database. If you have docker installed the 4. Set up a Postgres 9.5 database. If you have docker installed the
easiest way is to just run it in a docker container, like this: easiest way is to just run it in a docker container, like this:
...@@ -59,35 +71,51 @@ To set up a new instance perform the following steps: ...@@ -59,35 +71,51 @@ To set up a new instance perform the following steps:
6. Everything is set. You can start the development server with: 6. Everything is set. You can start the development server with:
python3 manage.py runserver python manage.py runserver
or just: or just:
make run make run
7. Reliable test data will follow soon. 7. To import some test data in order to see how the application might look like
run:
Overview make loadexamples
--------
Grady has three basic functions for the three types of users
- Reviewers can Testing
-------
> "Code without tests is broken by design." -- (Jacob Kaplan-Moss, Django core developer)
- edit feedback that has been provided by tutors Well, currently this repository lacks tests, thats true. But that will change as
- mark feedback as final if it should not be modified (only final this work until now is merely a prototype that will be developed further. However,
feedback is shown to students) the few existing tests can be seen as examples and can be found in the `tests.py`
- delete feedback (submission will be reassigned) file of each app (currently only `core`). You can run those tests with
- Tutors can python manage.py test core
- request a submission that they have to correct and submit feedback for or if you want a coverage report as well you can run:
- deleted their own feedback
- review feedback of other tutors
- they do not see which student submitted the solution
- Students can coverage --source='.' manage.py test core
coverage report
Overview
--------
Grady has three basic functions for the three types of users
- review their final feedback and score in the post exam review * Reviewers can
* edit feedback that has been provided by tutors
* mark feedback as final if it should not be modified (only final feedback is
shown to students)
* delete feedback (submission will be reassigned)
* Tutors can
* request a submission that they have to correct and submit feedback for it
* deleted their own feedback
* review feedback of other tutors
* they do not see which student submitted the solution
* Students can
* review their final feedback and score in the post exam review
An overview over the database can be found in the docs folder. An overview over the database can be found in the docs folder.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment