~craftyguy/ridecasa

e854efa0e3232260e1deca59827666a5871232d6 — Clayton Craft 2 years ago bceec71
README: document env variables that can be used to change app config
1 files changed, 12 insertions(+), 0 deletions(-)

M README.md
M README.md => README.md +12 -0
@@ 56,6 56,18 @@ The application uses a background task scheduler
$ huey_consumer ridecasa.tasks.huey -w $(nproc) -k process
```

### Environment Variables

The following environment variables can be set to changed to control certain aspects of the application:

`RIDECASA_TMP_DIR`: Used to specify a directory to use for tmp, defaults to `/tmp` if unset.

`SQLITE_DB_DIR`: Location to store the sqlite database, defaults to `./models` if unset.

`RIDECASA_SQLITE_DB`: Filename for the sqlite db, which will be created under `SQLITE_DB_DIR` if it doesn't exist. Defaults to `ridecasa.db` if unset.

`WSGI_PROFILE`: Generate performance profile data for the application.

### Reporting Problems

Issues can be reported either on [the Ride Casa mailing