Essayons de passer la page de log en react

This commit is contained in:
2025-09-07 22:08:41 +02:00
parent 70681a8b55
commit fa6ed6ae34
26 changed files with 6607 additions and 17 deletions

View File

@@ -1,12 +1,23 @@
APP_NAME=pmomusic
build:
# Build Go app
build: web
go build -o bin/$(APP_NAME) ./cmd/$(APP_NAME)
# Build web frontend
web:
@ echo Building the Web app
@ cd pmoapp/web && npm install && npm run build
@ echo Web app built
# Run Go app
run:
go run ./cmd/$(APP_NAME)
# Clean Go binary and web build
clean:
rm -rf bin/
rm -rf web/dist
all: build
# Build everything
all: build