addition of new dashboard

This commit is contained in:
2026-08-20 15:08:32 +00:00
parent 0622018d95
commit bf59249ed7
161 changed files with 13170 additions and 119 deletions

17
bin/build-frontend.sh Executable file
View File

@@ -0,0 +1,17 @@
#!/usr/bin/env bash
cd frontend
if [ ! -d node_modules ]; then
npm install
fi
set -x
npm run build
mkdir -p ../backend/ui
cp -a ./dist/index.html ../backend/ui/
cp -a ./dist/favicon.* ../backend/http/public/
rm -rf ../backend/http/public/_astro
cp -a ./dist/_astro ../backend/http/public/_astro
rm -rf ../backend/http/public/fonts
cp -a ./dist/fonts ../backend/http/public/fonts
{ set +x; } 2>/dev/null