Skip to content

Commit

Permalink
docs: update command for running the single binary (#6031)
Browse files Browse the repository at this point in the history
./flyte file is move to $GOPATH/bin by `make compile`, run flyte instead
of ./flyte

Signed-off-by: machichima <[email protected]>
  • Loading branch information
machichima authored Nov 19, 2024
1 parent ed87fa1 commit 859da05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/community/contribute/contribute_code.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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.**

Expand Down

0 comments on commit 859da05

Please sign in to comment.