mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-02-23 13:11:29 +01:00
add server build code (#2327)
This commit is contained in:
parent
585bb697b5
commit
8a720c328a
@ -52,6 +52,13 @@ function update_script() {
|
|||||||
npm run build &>/dev/null
|
npm run build &>/dev/null
|
||||||
msg_ok "Built ${APP} website"
|
msg_ok "Built ${APP} website"
|
||||||
|
|
||||||
|
msg_info "Building ${APP} server"
|
||||||
|
cd /opt/authentik
|
||||||
|
go mod download
|
||||||
|
go build -o /go/authentik ./cmd/server
|
||||||
|
go build -o /opt/authentik/authentik-server /opt/authentik/cmd/server/
|
||||||
|
msg_ok "Built ${APP} server"
|
||||||
|
|
||||||
msg_info "Installing Python Dependencies"
|
msg_info "Installing Python Dependencies"
|
||||||
cd /opt/authentik
|
cd /opt/authentik
|
||||||
poetry install --only=main --no-ansi --no-interaction --no-root &>/dev/null
|
poetry install --only=main --no-ansi --no-interaction --no-root &>/dev/null
|
||||||
|
Loading…
Reference in New Issue
Block a user