You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 28, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ Perform the following steps before deployment:
50
50
51
51
### Standard Deployment
52
52
53
-
1. Run `npm ci --ignore-scripts --production` to install dependencies
53
+
1. Run `npm ci --ignore-scripts --omit=dev` to install dependencies
54
54
2. Run `npm start`
55
55
56
56
The service should be up and running on the port set in the config. You should see output similar to the following in stdout or in the log file specified using the `LOG_ROTATION_FILENAME` environment variable:
@@ -97,7 +97,7 @@ This requires [Docker](https://www.docker.com) installed.
97
97
98
98
If you are unable to deploy this into production using Docker, it is recommended that you use a process manager such as [PM2](https://pm2.keymetrics.io/).
99
99
100
-
1. Run `npm ci --ignore-scripts --production` to install dependencies
100
+
1. Run `npm ci --ignore-scripts --omit=dev` to install dependencies
101
101
2. Run `npm i -g pm2` to install pm2 globally
102
102
3. Launch application with `pm2 start .pm2.config.js`
103
103
4. Check the application has been deployed using `pm2 list` or `pm2 monit`
0 commit comments