Update postgresus-install.sh
This commit is contained in:
parent
dfd694052f
commit
a9e0a1f0a2
@ -32,7 +32,7 @@ $STD npm run build
|
||||
cd /opt/postgresus/backend
|
||||
$STD go mod tidy
|
||||
$STD go mod download
|
||||
CGO_ENABLED=0 go build -o postgresus .
|
||||
$STD env CGO_ENABLED=0 go build -o /opt/postgresus/postgresus ./cmd/main.go
|
||||
mkdir -p /opt/postgresus/{data,backups,logs}
|
||||
cp -r /opt/postgresus/frontend/dist /opt/postgresus/ui
|
||||
cp -r /opt/postgresus/backend/migrations /opt/postgresus/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user