Commit 05c931b9 authored by Jonathan Schaeffer's avatar Jonathan Schaeffer


parent 2107bcbe
......@@ -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/` 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`
# Explanations
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment