mirror of
https://github.com/tl-open-source/tl-rtc-file.git
synced 2025-11-03 03:03:27 +08:00
feat: change client dist dir feat: chat emoji feat: custom websocket host feat: update icon feat: update layui.js fix: socket id equel 0 error
17 lines
328 B
Bash
Executable File
17 lines
328 B
Bash
Executable File
#!/bin/bash
|
|
#########################
|
|
# 提供pm2启动管理https服务的脚本
|
|
# 包含api服务,socket服务
|
|
# @auther: iamtsm
|
|
# @version: v1.0.0
|
|
#########################
|
|
|
|
pm2 start npm --name=tl-rtc-file-api -- run https-api
|
|
|
|
sleep 1
|
|
|
|
pm2 start npm --name=tl-rtc-file-socket -- run https-socket
|
|
|
|
sleep 1
|
|
|
|
npm run build:pro |