Skip to content

AzurIce/HomeworkPlatform

 
 

Repository files navigation

HomeworkPlatform

开发

assets/ 目录下是前端仓库的子模块。

直接 go run . --dev, 程序会用子进程在 assets/ 里跑一个 pnpm dev,并让前端的中间件把所有前端的请求通过反向代理转到 localhost:3000(也就是 pnpm dev 的监听地址)

构建

本项目使用 goreleaser/goreleaser: Deliver Go binaries as fast and easily as possible 来辅助构建。

1. 安装 goreleaser

MacOS - Homebrew:

brew install goreleaser/tap/goreleaser
brew install goreleaser

Windows - Scoop:

scoop bucket add goreleaser https://github.com/goreleaser/scoop-bucket.git
scoop install goreleaser

Universal - Go Install:

go install github.com/goreleaser/goreleaser@latest

2. 克隆代码

git clone --recurse-submodules https://github.com/cloudreve/Cloudreve.git

3. 编译项目

goreleaser build --clean --single-target --snapshot

数据库设计

DB Design

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%