mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-11 18:04:38 +00:00
add server build code (#2327)
This commit is contained in:
parent
585bb697b5
commit
8a720c328a
1 changed files with 7 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue