docs: added + updated build and deployment guides (#10019)
This commit is contained in:
1 parent
b6775f894a
commit
6f7467f071
11 files changed
+476
-13
No files matched your search
@@ -66,7 +66,13 @@ cd .medusa/server && npm install
|
||||
- When running the application locally, make sure to copy the `.env` file from the root project's directory. In production, use system environment variables instead.
|
||||
|
||||
```bash npm2yarn
|
||||
cp .env .medusa/server
|
||||
cp .env .medusa/server/.env.production
|
||||
```
|
||||
|
||||
- In the system environment variables, set `NODE_ENV` to `production`:
|
||||
|
||||
```bash
|
||||
NODE_ENV=production
|
||||
```
|
||||
|
||||
- Use the `start` command to run the application:
|
||||
|
||||
Reference in new issue
Block a user