mirror of https://github.com/rwf2/Rocket.git
Fix guide for changes to default environments.
This commit is contained in:
parent
f9a950d1c7
commit
9403006ba4
|
@ -15,8 +15,9 @@ _configuration environment_. There are three such environments:
|
||||||
* `staging` (short: `stage`)
|
* `staging` (short: `stage`)
|
||||||
* `production` (short: `prod`)
|
* `production` (short: `prod`)
|
||||||
|
|
||||||
Without any action, Rocket applications run in the `development` environment.
|
Without any action, Rocket applications run in the `development` environment for
|
||||||
The environment can be changed via the `ROCKET_ENV` environment variable. 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:
|
example, to launch an application in the `staging` environment, we can run:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
|
Loading…
Reference in New Issue