EvaP is the course evaluation system used internally at Hasso Plattner Institute at the University of Potsdam.
For the documentation, please see our wiki.
We use nix to manage the development environment.
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 ~
).git clone --recurse-submodules https://github.com/e-valuation/EvaP.git
cd EvaP
./nix/setup-nix
. On MacOS, install nix using the Determinate Nix Installer. Afterwards, if you get a permission error when running nix, restart your computer.nix run .#services-full
cd EvaP
nix develop
./manage.py run
evap@institution.example.com
and password evap
.To stop EvaP or the background services, press Ctrl-C
.
To exit the development shell, press Ctrl-D
or type exit
.
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. You should probably branch off main
, the branch release
is used for stable revisions.
Before committing, run the following commands:
./manage.py test
(runs the test suite)./manage.py lint
(runs linting)./manage.py format
(applies automatic code formatting)or, to combine all three, simply run ./manage.py precommit
.
You can also set up pylint
, isort
, black
and prettier
in your IDE to avoid doing this manually all the time.
(once) Fork the repository so you have a GitHub repo that you have write access to.
(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.
(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
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>
).
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.
MIT, see LICENSE.md.
The platform is only tested in Mozilla Firefox and Google Chrome. Other browsers might not render all pages correctly.