2 Star 1 Fork 2

暴明坤/label_sys

forked from xinlong/label_sys 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 549 Bytes
一键复制 编辑 原始数据 按行查看 历史
bravomikekilo 提交于 2024-09-19 22:33 . add new api and build using podman
.PHONY: boot clean test
boot:
go build
./demo
clean:
- rm db.sqlite
test:
go test -v ./...
build-linux:
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o label-sys-linux-amd64
build-docker-alpine:
go mod vendor
podman build -t label-sys:alpine-dev -f alpine.dockerfile .
run-docker-alpine:
podman run --rm -v $(shell pwd)/docker-config:/workspace/config -p 8080:8080 label-sys:alpine-dev
build-use-podman:
podman run --rm -v $(shell pwd):/workspace golang:1.21-bullseye bash -c 'cd /workspace && go build -o label-sys-linux-amd64'
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/bravomikekilo/label_sys.git
[email protected]:bravomikekilo/label_sys.git
bravomikekilo
label_sys
label_sys
master

搜索帮助