@k3000/s1 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/files/pm2.mjs +6 -4
- package/package.json +1 -1
package/README.md
CHANGED
package/files/pm2.mjs
CHANGED
@@ -1,6 +1,8 @@
|
|
1
1
|
import {pm2} from "./common/pm2.mjs";
|
2
2
|
|
3
|
-
pm2.exec('
|
4
|
-
|
5
|
-
pm2.
|
6
|
-
pm2.
|
3
|
+
pm2.exec('npm i -g pm2')
|
4
|
+
|
5
|
+
pm2.add('管理后台服务', 'admin.mjs', '--node-args="--experimental-vm-modules"')
|
6
|
+
pm2.add('用户身份验证服务', 'jwt.mjs', '--node-args="--experimental-vm-modules"')
|
7
|
+
pm2.add('数据存储服务', 'store1.mjs', '--node-args="--experimental-vm-modules"')
|
8
|
+
pm2.add('请求转发服务', 'proxy.mjs', '--node-args="--experimental-vm-modules"')
|