Skip to content

Commit

Permalink
docs: update readme.md
Browse files Browse the repository at this point in the history
新增記錄登入人數的說明
  • Loading branch information
Chinlinlee committed Sep 1, 2021
1 parent 4346ade commit bc09fb2
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,23 @@ module.exports =


## 建置與啟動
### 建置
- 本地設定完畢後,如果要測試課程查詢可以跑下面這條
```bash=
npm run build #創建當學期課程查詢資料用
```
- 啟動

### 啟動
```bash=
node server.js
```
或使用`pm2`(使用cluster模式)
```bash=
pm2 start ecosystem.config.js
```

### 記錄登入的人數
登入時會記錄到`default.log`,並使用`getTrafic.js`定時於`23:58`記錄當天登入的人數
```bash=
pm2 start getTrafic.js --name mycosim-trafic
```

0 comments on commit bc09fb2

Please sign in to comment.