Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c8b3ff68a7 |
@@ -20,19 +20,19 @@
|
||||
|
||||
## 快速開始
|
||||
|
||||
套件不在官方 npmjs 上,安裝要指定 `--registry`(擇一,公開站不用登入):
|
||||
套件不在官方 npmjs 上,安裝要指定 `--registry`(不用登入):
|
||||
|
||||
```bash
|
||||
# 公開 registry
|
||||
npm install -g telegram-codex-bot --registry=https://jianmiau.ddns.net/api/packages/AI/npm/
|
||||
|
||||
# 或:公司內部 registry(需 git.catan.com.tw 帳號)
|
||||
npm install -g telegram-codex-bot --registry=https://git.catan.com.tw/api/packages/Frontend/npm/
|
||||
|
||||
telegram-codex-bot start # 先做環境檢查(codex/登入/pm2/git),再把控制台掛上 pm2
|
||||
```
|
||||
|
||||
之後升級同樣帶 `--registry`(`npm update -g telegram-codex-bot --registry=...`)。
|
||||
之後升級同樣帶 `--registry`:
|
||||
|
||||
```bash
|
||||
npm update -g telegram-codex-bot --registry=https://jianmiau.ddns.net/api/packages/AI/npm/
|
||||
```
|
||||
|
||||
打開 **http://localhost:3799** →「🤖 Bot 管理」→「➕ 新增 Bot」:
|
||||
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "telegram-codex-bot",
|
||||
"version": "0.1.3",
|
||||
"version": "0.1.4",
|
||||
"description": "Telegram bot powered by the local Codex CLI — zero-dependency, pm2-managed, with a built-in PM2 web viewer",
|
||||
"license": "MIT",
|
||||
"type": "commonjs",
|
||||
|
||||
Reference in New Issue
Block a user