-
Notifications
You must be signed in to change notification settings - Fork 66
zh Getting Started
github-actions[bot] edited this page Jul 6, 2026
·
2 revisions
简介 · 功能特性 · 技术栈 · 快速开始 · 部署 · 项目结构 · 系统架构 · 小部件 · API · 数据库 · 设置 · 安全 · 配置 · 路线 · License
- Node.js 20+
- Wrangler CLI
git clone https://github.com/HaradaKashiwa/ternssh.git
cd ternssh
npm install
# 应用 D1 迁移(首次必须)
npm run db:migrate:local
# 方式 A:前后端分离(热更新)
npm run dev:server # Workers + 静态资源,默认 http://localhost:8787
npm run dev:web # Vite 开发服务器,代理 /api
# 方式 B:接近生产的集成预览
npm run build
npm run dev:server