From 36d31fb191a031dee57a5b70599440f16d20a386 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Tue, 10 Oct 2023 17:30:02 +0200 Subject: [PATCH] fix: improve binary build --- README.md | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 3f4d90dfd0..c28a5fc170 100644 --- a/README.md +++ b/README.md @@ -227,6 +227,18 @@ From there, you can follow the setup app and create other users. We publish helm charts at: . +### Run from binaries + +Each release includes the corresponding binaries for x86_64. You can simply download the +latest `windmill` binary using the following set of bash commands. +```bash +BINARY_NAME='windmill-amd64' # or windmill-ee-amd64 for the enterprise edition +LATEST_RELEASE=$(curl -L -s -H 'Accept: application/json' https://github.com/windmill-labs/windmill/releases/latest) +LATEST_VERSION=$(echo $LATEST_RELEASE | sed -e 's/.*"tag_name":"\([^"]*\)".*/\1/') +ARTIFACT_URL="https://github.com/windmill-labs/windmill/releases/download/$LATEST_VERSION/$BINARY_NAME" +wget "$ARTIFACT_URL" -O windmill +``` + ### OAuth, SSO & SMTP Windmill Community Edition allows to configure the OAuth, SSO (including Google Workspace SSO, Microsoft/Azure and Okta) directly from the UI in the superadmin settings. Do note that there is a limit of 50 SSO users on the community edition. @@ -254,17 +266,6 @@ You will also want to import all the approved resource types from [WindmillHub](https://hub.windmill.dev). A setup script will prompt you to have it being synced automatically everyday. -### Manually fetch latest Windmill binary - -Each release includes the corresponding binaries. You can simply download the -latest `windmill` binary using the following set of bash commands. -```bash -BINARY_NAME='windmill-amd64' # or windmill-ee-amd64 for the enterprise edition -LATEST_RELEASE=$(curl -L -s -H 'Accept: application/json' https://github.com/windmill-labs/windmill/releases/latest) -LATEST_VERSION=$(echo $LATEST_RELEASE | sed -e 's/.*"tag_name":"\([^"]*\)".*/\1/') -ARTIFACT_URL="https://github.com/windmill-labs/windmill/releases/download/$LATEST_VERSION/$BINARY_NAME" -wget "$ARTIFACT_URL" -O windmill -``` ## Environment Variables