This commit is contained in:
Patrick Alvin Alcala 2026-01-21 18:49:23 +08:00
parent 2af3c67303
commit cde344cb59
11 changed files with 80 additions and 5780 deletions

31
Makefile Normal file
View file

@ -0,0 +1,31 @@
.SILENT:
setup:
cd frontend && bun pm trust --all
install:
cd frontend && bun install && cd ../backend/go && make install
fdev:
cd frontend && bun run dev
fbuild:
cd frontend && bun run build && PORT=9000 node .output/server/index.mjs &
fupdate:
bun update
docker:
cd frontend && docker compose up -d
podman:
cd frontend && podman-compose up -d
favicon:
cd frontend && bun ./@dasig/scripts/node/generateFavicon.ts
logo:
cd frontend && bun ./@dasig/scripts/node/optimizeLogo.ts --size $(size)
image:
cd frontend && bun ./@dasig/scripts/node/optimizeImage.ts --name $(name) --size $(size)