Fix guide for changes to default environments.

This commit is contained in:
Sergio Benitez 2018-01-20 10:02:21 -08:00
parent f9a950d1c7
commit 9403006ba4
1 changed files with 3 additions and 2 deletions

View File

@ -15,8 +15,9 @@ _configuration environment_. There are three such environments:
* `staging` (short: `stage`)
* `production` (short: `prod`)
Without any action, Rocket applications run in the `development` environment.
The environment can be changed via the `ROCKET_ENV` environment variable. For
Without any action, Rocket applications run in the `development` environment for
debug builds and the `production` environment for non-debug builds. The
environment can be changed via the `ROCKET_ENV` environment variable. For
example, to launch an application in the `staging` environment, we can run:
```sh