From c408d84c0e01199bf21d727789cd4a28b2c0a7e9 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 21 May 2026 18:26:30 +0800 Subject: [PATCH] =?utf8?q?=E5=B0=86=E5=89=8D=E5=90=8E=E7=AB=AF=E6=9C=8D?= =?utf8?q?=E5=8A=A1=E5=90=AF=E5=81=9C=E9=85=8D=E7=BD=AE=E5=88=B0=E4=B8=80?= =?utf8?q?=E8=B5=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- studybase/ecosystem.config.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 studybase/ecosystem.config.js diff --git a/studybase/ecosystem.config.js b/studybase/ecosystem.config.js new file mode 100644 index 0000000..f2594cb --- /dev/null +++ b/studybase/ecosystem.config.js @@ -0,0 +1,18 @@ +module.exports = { + apps: [ + { + name: "backend", + cwd: "/home/daydayup/studybase/backend", + script: "/usr/bin/python3", + args: "app.py", + watch: true + }, + { + name: "frontend", + cwd: "/home/daydayup/studybase/frontend", + script: "/root/.nvm/versions/node/v22.22.2/bin/npm", + args: "start", + watch: true + } + ] + }; \ No newline at end of file -- 2.43.0