# zhi-bo-server **Repository Path**: xuqing_gitee/zhi-bo-server ## Basic Information - **Project Name**: zhi-bo-server - **Description**: 视频直播 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-04-14 - **Last Updated**: 2025-02-06 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 视频直播项目 系统windows10 开发环境:nodejs + mysql + redis + nginx + ffmpeg 开发工具:webstorm 调试: \1. 进入 server 目录,执行npm install \2. 修改development配置文件,配置数据库和redis缓存 \3. 添加nodejs configurations , 工具目录为server,启动脚本为对应应用服务 ![img](file:///C:\Users\A\AppData\Local\Temp\ksohtml1164\wps1.jpg) ![img](file:///C:\Users\A\AppData\Local\Temp\ksohtml1164\wps2.jpg) ![img](file:///C:\Users\A\AppData\Local\Temp\ksohtml1164\wps3.jpg) 小程序源码请使用微信开发者工具直接打开。 https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html 系统:ubuntu 正式环境:nodejs + mysql + redis + nginx + ffmpeg + pm2 运行: \1. 进入 server 目录,执行npm install \2. 修改production配置文件,配置数据库和redis缓存 \3. 使用pm2 管理应用 A.启动服务:pm2 start process.json B.停止服务 pm2 stop all C.重启服务:pm2 start all D.日志目录 /root/.pm2/logs ![img](file:///C:\Users\A\AppData\Local\Temp\ksohtml1164\wps4.jpg) process.json 配置文件(配置环境和端口) ![img](file:///C:\Users\A\AppData\Local\Temp\ksohtml1164\wps5.jpg)