From d3a3b704f7e8ebeb13afd16175072cbd24df1ea9 Mon Sep 17 00:00:00 2001 From: Remy van der Wereld Date: Sun, 21 Jul 2024 21:10:52 +0200 Subject: [PATCH 1/2] Text update --- app/web/cases/templates/cases/case_create_address_form.html | 2 +- app/web/cases/templates/cases/case_update_address_form.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/web/cases/templates/cases/case_create_address_form.html b/app/web/cases/templates/cases/case_create_address_form.html index 75317f90..29a68eda 100644 --- a/app/web/cases/templates/cases/case_create_address_form.html +++ b/app/web/cases/templates/cases/case_create_address_form.html @@ -22,7 +22,7 @@

Cliënt adres aanpassen

- Wat is het adres van {{ form.instance.client_name }}? + Wat is het adres van de omslagwoning voor {{ form.instance.client_name }}?

diff --git a/app/web/cases/templates/cases/case_update_address_form.html b/app/web/cases/templates/cases/case_update_address_form.html index a225cdc9..48095bb3 100644 --- a/app/web/cases/templates/cases/case_update_address_form.html +++ b/app/web/cases/templates/cases/case_update_address_form.html @@ -66,7 +66,7 @@

Huidige woning

- Wat is het adres van {{ form.instance.client_name }}? + Wat is het adres van de omslagwoning voor {{ form.instance.client_name }}?

From 9e41ad54993899426e7b0715396e3e99729fd66c Mon Sep 17 00:00:00 2001 From: Remy van der Wereld Date: Mon, 22 Jul 2024 10:33:07 +0200 Subject: [PATCH 2/2] Updated readme file --- README.md | 9 +++++++++ docker-compose.local.yml | 2 -- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 993b3975..948888ff 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,15 @@ Go to http://localhost:8088/ For the admin interface: http://localhost:8088/admin/ +## Importing fixtures dump +The Django project needs some configuration in order to run locally. It's possible to add these manually, but the quickest way is importing using fixtures from the acceptance environment. You can download these automatically at:https://acc.omslagroute.amsterdam.nl/admin/dumpdata. You'll need to be logged in using an admin account first to access this url. + +Move the json into the `app` directory on the root of your project, and run the following command + +```bash +docker-compose -f docker-compose.local.yml run --rm omslagroute python manage.py loaddata +``` +Remove the json fixture after installing it. ## Build diff --git a/docker-compose.local.yml b/docker-compose.local.yml index 4aff5148..a1a7b143 100644 --- a/docker-compose.local.yml +++ b/docker-compose.local.yml @@ -1,5 +1,3 @@ -version: "3" - services: database: image: amsterdam/postgres12