serve vue spa from axum
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 9s

This commit is contained in:
2025-07-18 01:49:28 +01:00
parent de9aff6561
commit f9047644fe
48 changed files with 13819 additions and 11 deletions

View File

@ -4,14 +4,22 @@ run *ARGS: build
start: build
./target/debug/nuchat 2>&1 > target/debug/logs/nuchat.log &
build:
build: build-cargo build-ui
build-cargo:
@mkdir -p target/debug/logs
@mkdir -p dist
cargo build
[working-directory: "ui"]
build-ui:
npm install
npm run build
test: integration unit
integration:
if [ ! $(curl -sf "localhost:7000/healthcheck" ) ]; then just run; fi
if [ ! $(curl -sf "localhost:7000/api/healthcheck" ) ]; then just run; fi
cargo test --test '*'
unit: