🔧(core) add test env file
I am adding this file containing the variables needed to run test without docker Signed-off-by: charles <[email protected]>
This commit is contained in:
@@ -173,6 +173,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`.
|
||||
|
||||
### Demo content
|
||||
|
||||
Create a basic demo site:
|
||||
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user