chore: update readme

This commit is contained in:
lyz05
2024-01-06 23:00:27 +08:00
parent d56f516aca
commit 7eab028c43
2 changed files with 7 additions and 8 deletions

View File

@@ -1,8 +1,5 @@
# Fly.io Express项目
包含如下子项目
- airportsub: 用于机场订阅
- danmaku用于弹幕解析
- tgbot: Telegram机器人
# danmaku
用于解析转换各大视频网站芒果TV腾讯视频优酷视频爱奇艺视频哔哩哔哩弹幕
# 依赖
- chai: 断言库
@@ -12,9 +9,9 @@
# 运行此项目
``` sh
pnpm install
pnpm run dev
pnpm run test # 单元测试
npm install # 安装依赖
npm run dev # 本地运行
npm run test # 单元测试
```
# 部署到fly.io
@@ -40,6 +37,7 @@ flyctl regions remove hkg
flyctl config env
flyctl secrets set DEBUG=true
flyctl ssh console
flyctl checks list
```
# Node常用工具

View File

@@ -24,6 +24,7 @@ const server = http.createServer(app);
server.listen(port, () => {
console.log(`Listening on port ${port}`);
console.log(`visit: http://localhost:${port}`);
});
server.on('error', onError);
server.on('listening', onListening);