diff --git a/README.md b/README.md index 96526a1d..82882deb 100644 --- a/README.md +++ b/README.md @@ -295,7 +295,25 @@ graphql schema. - What about the generated types from `codegen`? Hand written types seem to be better. - The functions in `cacheExchange` should be nearer the concrete implementation... -## Load prod data for testing +## Test users +### Local development +If `prepare_server.sh` was run, the following users are available (password: `test` and found in `create_default_users.py`): + +- Trainer + - test-trainer1@example.com + - test-trainer2@example.com +- Teilnehmer + - test-student1@example.com + - test-student2@example.com + - test-student3@example.com +- Regionenleiter + - test-supervisor1@example.com +- Berufsbildner + - test-berufsbildner1@example.com +- Ausbildungsverantwortlicher + - test-ausbildungsverantwortlicher1@example.com + +### Load prod data for local testing 1. Checkout the [vbv-devops](https://bitbucket.org/iterativ/iterativ-devops/src/master/) repository 2. Change into the `backups` directory @@ -306,3 +324,6 @@ graphql schema. for csu in CourseSessionUser.objects.all(): csu.user.set_password("test") ``` +### Test users on production +On production there are CourseSessions in the VV and üK courses with test users. The data can be rested via the admin +interface ("Iterativ Testdurchführungen zurücksetzen"). All users use local login and can be found in 1password.