fix build problem (#347)

* fix build problem

* fix fully remove S-UI panel in README.md

* fix frontend build problem (npm install before build frontend)

* web/html folder dosent exist at the fisrt place
This commit is contained in:
tinybug
2024-11-17 15:20:26 +03:30
committed by GitHub
parent e89ac96885
commit 4649bd42ae
3 changed files with 10 additions and 4 deletions
+4 -2
View File
@@ -1,13 +1,15 @@
#!/bin/sh
cd frontend
npm i
npm run build
cd ..
cd backend
echo "Backend"
mkdir -p web/html
rm -fr web/html/*
cp -R ../frontend/dist/ web/html/
cp -R ../frontend/dist/* web/html/
go build -o ../sui main.go
go build -o ../sui main.go