Skip to content

Commit f3fcf8a

Browse files
committed
Update guide for pm2
1 parent a59d41e commit f3fcf8a

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

readme.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ install pm2 as a global package, and then install [pm2-windows-service](https://
5555
npm i -g pm2
5656
npm i -g pm2-windows-service
5757
pm2-service-install
58+
# Perform environment setup: answer yes
59+
# Set PM2_HOME: answer yes and the type the path to the folder you intent on saving the openflow/nodered config files into ( like c:\openflow )
60+
# PM2_SERVICE_SCRIPTS: answer no
61+
# PM2_SERVICE_PM2_DIR: answer yes, and then accept the default path
5862
```
5963

6064
then create a template configuration file using
@@ -92,11 +96,16 @@ mkdir c:\openflow
9296
cd \openflow
9397
```
9498

95-
install [pm2-windows-service](https://www.npmjs.com/package/pm2-windows-service)
96-
99+
install pm2 as a global package, and then install [pm2-windows-service](https://www.npmjs.com/package/pm2-windows-service)
100+
**Important**: Say no to startup scripts PM2_SERVICE_SCRIPTS
97101
```bash
102+
npm i -g pm2
98103
npm i -g pm2-windows-service
99104
pm2-service-install
105+
# Perform environment setup: answer yes
106+
# Set PM2_HOME: answer yes and the type the path to the folder you intent on saving the openflow/nodered config files into ( like c:\openflow )
107+
# PM2_SERVICE_SCRIPTS: answer no
108+
# PM2_SERVICE_PM2_DIR: answer yes, and then accept the default path
100109
```
101110

102111
then create a template configuration file using

0 commit comments

Comments
 (0)