mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
build frontend at local
This commit is contained in:
parent
c79639794b
commit
b37c1e8eac
31 changed files with 118 additions and 10 deletions
|
@ -7,15 +7,6 @@ echo "Copyright (c) 0xJacky 2021"
|
|||
echo
|
||||
echo "=========================="
|
||||
|
||||
echo "installing yarn..."
|
||||
npm install -g yarn
|
||||
|
||||
echo "Compiling frontend..."
|
||||
cd nginx-ui-frontend || exit 1
|
||||
yarn build
|
||||
|
||||
cd ..
|
||||
|
||||
echo "Compiling api server..."
|
||||
cd server || exit 1
|
||||
go build -o nginx-ui-server main.go
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue