@@ -75,7 +75,21 @@ http POST localhost:8000 < token.asc
## Running tests
## Configuration
The configuration is made through environment variables.
### Databases access
For convenience, all the database connection parameters (except password) are hardcoded when `RUNMODE` is set to `production` or `preproduction`
Look at `eidawsauth/config.py` to see the list en environments needed. Tere are sensitive defaults for RESIF.
Minimal environment for RESIF is
*`RUNMODE`: set to `production` or `preproduction`
*`PGPASSWORD`: if same user is set for both databases, this value will be used for both. Otherwise, set `RESIFINV_PGPASSWORD` and `RESIFAUTH_PGPASSWORD`