$ git clone https://github.com/xugy0926/community.git
$ cd community
$ yarn
The three most important configurations
$ yarn run dev
$ git clone https://github.com/xugy0926/community.git
$ cd community
$ yarn
$ yarn run config
Modify src/config/index.pro.js
Run production
$ yarn run build
$ NODE_ENV=production PORT=80 pm2 start dist/server.js --name "community"
or
$make depoly
$ git pull
$ yarn
$ yarn run build
$ pm2 stop community
$ pm2 start community
or
$ make update
pm2 deploy ecosystem.json production --force