Files
s-ui/build.sh
T
tinybug 4649bd42ae 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
2024-11-17 12:50:26 +01:00

16 lines
176 B
Bash
Executable File

#!/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/
go build -o ../sui main.go