git clone https://github.com/zxecsm/hello.git /home/node/hello
vim /home/node/hello/server/data/config.js
const filepath = '/home/webData'; // 网站数据存放目录
const rootP = '/'; // 文件管理根目录
const configObj = {
port: 3000,
filepath,
rootP,
userFileP: `${filepath}/userFile`,
};
module.exports = configObj;
cd /home/node/hello/server
pnpm i
cd ../web
pnpm i
pnpm run build
cd ../server
node app