diff --git a/peach-web/README.md b/peach-web/README.md index c7e9a02..018ab8d 100644 --- a/peach-web/README.md +++ b/peach-web/README.md @@ -39,9 +39,7 @@ _Note: Networking functionality requires peach-network microservice to be runnin ### Environment -Authentication is enabled by default. It can be disabled by setting the `DISABLE_ROCKET_AUTH` environment variable to `true`: - -`export DISABLE_ROCKET_AUTH=true` +**Deployment Mode** The web application deployment mode is configured with the `ROCKET_ENV` environment variable: @@ -49,6 +47,14 @@ The web application deployment mode is configured with the `ROCKET_ENV` environm Other deployment modes are `dev` and `prod`. Read the [Rocket Environment Configurations docs](https://rocket.rs/v0.5-rc/guide/configuration/#environment-variables) for further information. +**Authentication** + +Authentication is disabled in `development` mode and enabled by default when running the application in `production` mode. It can be disabled by setting the `ROCKET_DISABLE_AUTH` environment variable to `true`: + +`export ROCKET_DISABLE_AUTH=true` + +**Logging** + Logging is made available with `env_logger`: `export RUST_LOG=info`