Files
chiyiandDevin 834ecacdb9 cyi-box: Memphis-style toolbox admin platform
Go(fun)+SQLite backend, Vue 3 frontend. Modules: dashboard, pay gateway
(Epay-compatible + CDK stock), license/card system (per-app appid, domain
binding), AI memory bank with built-in MCP server (/mcp, FTS5 search,
signed read links), server SSH monitor + terminal + SFTP, proxy pool with
protocol-level alive checks, DB manager (mysql/pg/sqlite + SQL
autocomplete + import/export), disk share, vault (AES-GCM + TOTP),
bookmarks, dev tools.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2026-10-01 01:58:47 +08:00

25 lines
772 B
Makefile
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
NODE_BIN := $(HOME)/.local/opt/node-v22.23.2-linux-x64/bin
export PATH := $(NODE_BIN):$(PATH)
.PHONY: dev backend frontend gen build
# 前后端一起起:后端 :8890,前端 :5173
dev:
(cd backend && go run ./cmd/server) & (cd frontend && npm run dev)
backend:
cd backend && go run ./cmd/server
frontend:
cd frontend && npm run dev
# 改了 backend 服务/DTO 后跑这个:sqlc 重新生成 internal/db,再生成 frontend/src/api
gen:
cd backend && go tool sqlc generate && go run ./cmd/gen
# 用 cp 覆盖而非 mv:内容重写才能触发 vite watcher,mv(rename) 会让 dev server 继续喂过期模块
cp -f frontend/src/api/ts/* frontend/src/api/ && rm -rf frontend/src/api/ts
build:
cd backend && go build ./...
cd frontend && npm run build