From 745ab6aabc8d9bf2c05016b3bedd743c3f6d281a Mon Sep 17 00:00:00 2001 From: charles Date: Thu, 29 Jan 2026 11:34:07 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7(core)=20add=20test=20env=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I am adding this file containing the variables needed to run test without docker Signed-off-by: charles --- README.md | 4 ++++ env.d/development/common.test | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 env.d/development/common.test diff --git a/README.md b/README.md index 1b059d30..561322aa 100644 --- a/README.md +++ b/README.md @@ -147,6 +147,10 @@ $ make frontend-test $ make frontend-lint ``` +Backend tests can be run without docker with the env files +`env.d/development/common` and `env.d/development/common.test`. +`common.test` must overwrite some variables in `common`. + **Adding content** You can create a basic demo site by running this command: diff --git a/env.d/development/common.test b/env.d/development/common.test new file mode 100644 index 00000000..476a0d6b --- /dev/null +++ b/env.d/development/common.test @@ -0,0 +1,7 @@ +# Test environment configuration for running tests without docker +# Base configuration is loaded from 'common' file + +DJANGO_SETTINGS_MODULE=impress.settings +DJANGO_CONFIGURATION=Test +DB_PORT=15432 +AWS_S3_ENDPOINT_URL=http://localhost:9000 \ No newline at end of file