reorg: separate frontend and backend

This commit is contained in:
2025-02-23 11:45:40 -08:00
parent b2b70f3eb1
commit b3cf5fb3c8
12 changed files with 7752 additions and 2154 deletions

View File

@@ -3,13 +3,21 @@ VERSION := $(shell git describe --always --dirty)
.PHONY: build
build:
npm install
npm run build
npm run build --workspaces
.PHONY: dev
dev:
npm run dev
.PHONY: run
run:
npm run start
.PHONY: image
image:
docker build -t queuecube:$(VERSION)-$(shell uname -m) .
.PHONY: images
images:
docker buildx build --platform linux/arm/v7 -t musicqueue:$(VERSION)-armv7l .
docker buildx build --platform linux/amd64 -t musicqueue:$(VERSION)-amd64 .
docker buildx build --platform linux/arm/v7 -t queuecube:$(VERSION)-armv7l .
docker buildx build --platform linux/amd64 -t queuecube:$(VERSION)-amd64 .