mirror of
https://github.com/anikeen-com/print-utils.git
synced 2026-03-13 13:46:07 +00:00
Add pm2 home variable
This commit is contained in:
@@ -26,6 +26,15 @@ npm install
|
|||||||
npm install pm2 -g
|
npm install pm2 -g
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Set home for windows
|
||||||
|
|
||||||
|
Follow these steps:
|
||||||
|
|
||||||
|
1. Create a new folder `c:\etc\.pm2`
|
||||||
|
2. Create a new `PM2_HOME` variable (at System level, not User level) and set the value `c:\etc\.pm2`
|
||||||
|
3. Close all your open terminal windows (or restart Windows)
|
||||||
|
4. Ensure that your `PM2_HOME` has been set properly, running `echo %PM2_HOME%`
|
||||||
|
|
||||||
### Start the server
|
### Start the server
|
||||||
|
|
||||||
Start and add a process to the pm2 process list:
|
Start and add a process to the pm2 process list:
|
||||||
|
|||||||
Reference in New Issue
Block a user