Skip to main content

EvaP

Project description

EvaP - Evaluation Platform

Build Status Codacy Badge codecov PyPI

What is EvaP?

EvaP is the course evaluation system used internally at Hasso Plattner Institute at the University of Potsdam.

For the documentation, please see our wiki.

Development Setup

We use nix to manage the development environment. To get a local version of EvaP running, follow these steps:

  1. Windows only: Install the Windows Subsystem for Linux (WSL) using wsl --install -d Ubuntu-24.04 (you may have to restart your computer and run this command again). Enter the WSL environment using the wsl command. On your first entry, you need to choose a username and password - anything works (for example: username "evap", password "evap"). Perform the next step outside of /mnt, for example by going to your home directory (cd ~).
  2. Install git. Run the following commands to clone and enter the EvaP repository:
    git clone https://github.com/e-valuation/EvaP.git
    cd EvaP
    
  3. Install nix by running ./nix/setup-nix. Afterwards, if you get any errors when running nix, restart your computer.
  4. Start EvaP and wait until you see a table view and the "evap" row shows "Running":
    nix run
    
  5. Open your web browser at http://localhost:8000/ and login with email evap@institution.example.com and password evap.

To stop EvaP, press Ctrl-C and confirm with Enter.

What is going on?

The command nix run starts a program called process-compose which performs some initial setup and orchestrates a number of processes needed to run EvaP. In particular, nix and process-compose handle installation of all dependencies, setup of the postgres database and redis cache, compilation of TypeScript, SCSS, and translation files, and running the Django development server. When changing Python, HTML, SCSS, or TypeScript files, you do not have to restart the server.

Contributing

We'd love to see contributions! PRs solving existing issues are most helpful to us. It's best if you ask to be assigned for the issue so we won't have multiple people working on the same issue. Feel free to open issues for bugs, setup problems, or feature requests. If you have other questions, feel free to contact the organization members.

To work on EvaP, you can open a shell with all dependencies available:

cd EvaP
nix develop
./manage.py test # In the shell, you can use ./manage.py commands

To exit the development shell, press Ctrl-D or type exit.

If you start your code editor from the nix develop shell, it should automatically pick up all dependencies. If this does not work automatically, try using the nix/nix-python script in the EvaP project as the Python interpreter in your IDE.

After quitting nix run, you can run the command nix run .#clean-setup to remove persistent state (database, node modules, localsettings). Afterwards, nix run will recreate everything when you run it the next time.

Before committing, run ./manage.py precommit or alternatively, the individual commands:

  • ./manage.py typecheck
  • ./manage.py test (check out --keepdb and --parallel for faster execution)
  • ./manage.py lint
  • ./manage.py format

You can also set up ruff, pylint, and prettier in your IDE to avoid doing this manually all the time.

Creating a Pull Request (Workflow Suggestion)

  1. (once) Fork the repository so you have a GitHub repo that you have write access to.

  2. (once) Set up some authentication for GitHub that allows push access. A common option is using SSH keys, the remaining instructions assume an SSH key setup. An alternative is using the GitHub CLI tool.

  3. (once) Ensure your git remotes are setup to use SSH. To fetch the up-to-date state of the official repo, it's useful to have an "upstream" remote configured:

    git remote set-url origin git@github.com:<your-username>/EvaP.git
    git remote add upstream git@github.com:e-valuation/EvaP.git
    
  4. Create a branch (git switch -c <your-branch-name>), commit your changes (git add and git commit), and push them (git push). "Push" will ask you to specify an upstream branch (git push -u origin <your-branch-name>).

  5. GitHub should now ask you whether you want to open a pull request ("PR"). If the PR solves an issue, use one of GitHub's magic keywords (like "fixes") in the pull request description to create a link between your PR and the issue. If necessary, please also provide a short summary of your changes in the description.

License

MIT, see LICENSE.md.

Supported Browsers

The platform is only tested in Mozilla Firefox and Google Chrome. Other browsers might not render all pages correctly.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

evap-2026.5.0.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

evap-2026.5.0-py3-none-any.whl (1.8 MB view details)

Uploaded Python 3

File details

Details for the file evap-2026.5.0.tar.gz.

File metadata

  • Download URL: evap-2026.5.0.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for evap-2026.5.0.tar.gz
Algorithm Hash digest
SHA256 825f85d0fb53d578db7c553f6ff3ba2539c7974362880dcbc70bf25953779b8c
MD5 65503725d76a7c729be5eb6b0a7783a6
BLAKE2b-256 0098c3f39463fc32c178ada8da62efa01e8745efc9734aa3481ac2625a25d04a

See more details on using hashes here.

Provenance

The following attestation bundles were made for evap-2026.5.0.tar.gz:

Publisher: release.yml on e-valuation/EvaP

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file evap-2026.5.0-py3-none-any.whl.

File metadata

  • Download URL: evap-2026.5.0-py3-none-any.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for evap-2026.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1fabf90ec77b191ee4a1ee0b708f0a327b13ea6b0e521cd97ae39dfd85d5adcc
MD5 eff55e7a5ef19a4023448b30b29cfcad
BLAKE2b-256 a6ed9d2ecf769e633656e4caa1a84a2ef9e1de6cc409150abc9aa1ceb2e9605b

See more details on using hashes here.

Provenance

The following attestation bundles were made for evap-2026.5.0-py3-none-any.whl:

Publisher: release.yml on e-valuation/EvaP

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page