發佈 0.1.4:README 安裝指令統一用公開 registry
摘要: 安裝與升級指令改為只列 jianmiau.ddns.net 的公開 registry(免登入), 移除公司內部 registry 的說明。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -20,19 +20,19 @@
|
|||||||
|
|
||||||
## 快速開始
|
## 快速開始
|
||||||
|
|
||||||
套件不在官方 npmjs 上,安裝要指定 `--registry`(擇一,公開站不用登入):
|
套件不在官方 npmjs 上,安裝要指定 `--registry`(不用登入):
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# 公開 registry
|
|
||||||
npm install -g telegram-codex-bot --registry=https://jianmiau.ddns.net/api/packages/AI/npm/
|
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
|
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」:
|
打開 **http://localhost:3799** →「🤖 Bot 管理」→「➕ 新增 Bot」:
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "telegram-codex-bot",
|
"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",
|
"description": "Telegram bot powered by the local Codex CLI — zero-dependency, pm2-managed, with a built-in PM2 web viewer",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "commonjs",
|
"type": "commonjs",
|
||||||
|
|||||||
Reference in New Issue
Block a user