跳到主要内容

快速开始

Docker 一键启动

本地只需要安装 Docker 和 Docker Compose。

git clone https://github.com/Rodert/ShiyuAdmin.git
cd ShiyuAdmin
docker compose up -d

启动后访问:

服务地址
前端后台localhost:8000
后端接口localhost:8080
健康检查localhost:8080/api/v1/system/health

本地开发

后端:

cd backend/shiyu-admin-backend
go run ./cmd/server

前端:

cd frontend/shiyu-admin-web
npm install
npm run start:dev

前端依赖请在 frontend/shiyu-admin-web 目录内安装。仓库根目录没有前端启动入口,通常不需要在根目录执行 npm install

常用检查

git status --short
docker compose ps
docker compose logs backend