Skip to content

Commit

Permalink
Reformat environment variable names so they display correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
lovett committed Dec 12, 2019
1 parent 1d3c45d commit 8a23de3
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions README.md
Expand Up @@ -44,42 +44,42 @@ added to the CherryPy global config.
For compatibility with systemd, double underscores are used in place
of periods in environment variable names.

**MEDLEY__database_dir**: The filesystem path to the directory that
`MEDLEY__database_dir`: The filesystem path to the directory that
should be used for Sqlite databases. Default: `./db`

**MEDLEY__engine__autoreload__on**: Whether the CherryPy webserver should watch
`MEDLEY__engine__autoreload__on`: Whether the CherryPy webserver should watch
for changes to application files and restart itself. Only useful in
development. Default: `False`

**MEDLEY__local_maintenance**: Whether the server should allow requests
`MEDLEY__local_maintenance`: Whether the server should allow requests
from localhost that perform cleanup and maintenance operations. These
can be time intensive and block other requests, and are meant to run
when the application isn't busy. Default: `True`

**MEDLEY__log__screen**: Whether log messages should be written to the stdout of the
`MEDLEY__log__screen`: Whether log messages should be written to the stdout of the
tty running the server process. Default: `True`

**MEDLEY__log__screen_access**: Whether access logs should be written to stdout
`MEDLEY__log__screen_access`: Whether access logs should be written to stdout
when `log.screen` is enabled. Default: `False`

**MEDLEY__memorize_checksums**: Whether the server should keep static asset file
`MEDLEY__memorize_checksums`: Whether the server should keep static asset file
hashes in memory for use with HTTP cache control. Useful in production
but counterproductive in development. Default: `True`

**MEDLEY__request__show_tracebacks**: Whether CherryPy should display Python
`MEDLEY__request__show_tracebacks`: Whether CherryPy should display Python
trackebacks in the browser when errors occur. Default: `False`

**MEDLEY__server__daemonize**: Whether the CherryPy server should run as
`MEDLEY__server__daemonize`: Whether the CherryPy server should run as
a daemon. Not necessary when the server is being manged by
`systemd`. Default: `False`

**MEDLEY__server__socket_host**: The IP the server should listen on. Default:
`MEDLEY__server__socket_host`: The IP the server should listen on. Default:
`127.0.0.1`

**MEDLEY__server__socket_port**: The port the server should listen
`MEDLEY__server__socket_port`: The port the server should listen
on. Default: `8085`

**MEDLEY__tools__gzip__on**: Whether to enable gzip compression. Default: `True`
`MEDLEY__tools__gzip__on`: Whether to enable gzip compression. Default: `True`

## Acknowledgements

Expand Down

0 comments on commit 8a23de3

Please sign in to comment.