In this document, I depoly the system on Centos 7. If you are using any other OS, only a slight adjustment is needed.
curl -sL https://rpm.nodesource.com/setup_14.x | sudo bash
sudo yum install nodejs
create xxx/.env
PROJECT=xxx
API_PORT=9000
NODE_ENV=development
npm i
npm run build
CREATE DATABASE xxx DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
node dist/tools/initdb.js
pm2 start all.yml