docs: update default for medusa start (#11391)
* docs: update default NODE_ENV * fix * fix
This commit is contained in:
@@ -22,7 +22,13 @@ In production, you should always use system environment variables that you set t
|
||||
|
||||
During development, it's easier to set environment variables in a `.env` file in your repository.
|
||||
|
||||
Based on your `NODE_ENV` system environment variable, which is considered as `development` if not set, Medusa will try to load environment variables from the following `.env` files:
|
||||
Based on your `NODE_ENV` system environment variable, Medusa will try to load environment variables from the following `.env` files:
|
||||
|
||||
<Note title="Tip">
|
||||
|
||||
As of [Medusa v2.5.0](https://github.com/medusajs/medusa/releases/tag/v2.5.0), `NODE_ENV` defaults to `production` when using `medusa start`. Otherwise, it defaults to `development`.
|
||||
|
||||
</Note>
|
||||
|
||||
<Table>
|
||||
<Table.Header>
|
||||
|
||||
Reference in New Issue
Block a user