Skip to content

Commit 2d20558

Browse files
authored
Merge pull request #44 from RisingStack/master
fix: update README.md with possible NODE_ENV and LOG_LEVEL values
2 parents 615366c + 2388361 commit 2d20558

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,13 +96,13 @@ To create a new Elastic Beanstalk environment follow these steps:
9696
14. Under the _Platform software_ settings you must set these 3 environment variables. You can modify these variables later at any time under the Configuration/Software Tab of the AWS Console:
9797

9898
- **PORT**: The PORT must match the port exposed in the docker container which currently is **8080**.
99-
- **NODE_ENV**: Must be either `production`, `development` or `test`. If the given value is `test` the server will reset the Postgres Database on each restart.
99+
- **NODE_ENV**: Must be either `production`, `development`. (DEVNOTE: for local development it can be `test`. If the given value is `test` the server will reset the Postgres Database on each restart.)
100100
- **DB_URL**: The connection string for the Postgres Database which is the following: postgres://<USERNAME>:<PASSWORD>@<HOST>:<PORT>/<DB_NAME>. You can find the <HOST>:<PORT> information about the DB under the "Connectivity & security / Endpoint (/Port)" tab of the databases RDS page.
101101

102102
15. Optional environment variables:
103103

104104
- **MIGRATION_PASSWORD**: Required for creating a migration on the frontends "Migration" page. Defaults to "secret".
105-
- **LOG_LEVEL**: Only for the `test` NODE_ENV. Defaults to "error".
105+
- **LOG_LEVEL**: Possible values: 'fatal' | 'error' | 'warn' | 'info' | 'debug' | 'trace'. If it's not set, defaults to 'error'.
106106

107107
## RDS (e.g., ndi@aa1jiteus75zy8h)
108108

0 commit comments

Comments
 (0)