From b96aefab3ae4c23d39ad6137969d09cf6a4890c5 Mon Sep 17 00:00:00 2001 From: machichima Date: Tue, 19 Nov 2024 22:28:32 +0800 Subject: [PATCH] docs: update command for running the single binary ./flyte file is move to $GOPATH/bin by `make compile`, run flyte instead of ./flyte Signed-off-by: machichima --- docs/community/contribute/contribute_code.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/community/contribute/contribute_code.rst b/docs/community/contribute/contribute_code.rst index c0fe3294aa..9802ff28ec 100644 --- a/docs/community/contribute/contribute_code.rst +++ b/docs/community/contribute/contribute_code.rst @@ -293,7 +293,7 @@ that integrates all Flyte components into a single binary. # Step 4: Running the single binary. # The POD_NAMESPACE environment variable is necessary for the webhook to function correctly. # You may encounter an error due to `ERROR: duplicate key value violates unique constraint`. Running the command again will solve the problem. - POD_NAMESPACE=flyte ./flyte start --config flyte-single-binary-local.yaml + POD_NAMESPACE=flyte flyte start --config flyte-single-binary-local.yaml # All logs from flyteadmin, flyteplugins, flytepropeller, etc. will appear in the terminal. @@ -327,7 +327,7 @@ The following instructions provide guidance on how to build single binary with y # Step 3: Now, you can build the single binary. Go back to Flyte directory. make go-tidy make compile - POD_NAMESPACE=flyte ./flyte start --config flyte-single-binary-local.yaml + POD_NAMESPACE=flyte flyte start --config flyte-single-binary-local.yaml **5. Test by running a hello world workflow.**