From a3cbe6aeab1600f10937b79f1f4beabc47b377e2 Mon Sep 17 00:00:00 2001 From: Zhenyu Hong <1109115258@qq.com> Date: Mon, 30 Dec 2024 20:36:10 +0800 Subject: [PATCH] docs: update README for command syntax and binary execution (#1897) ## What kind of change does this PR introduce? docs: update README for command syntax and binary execution Add any other context or screenshots. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9bbab46440..ae43ad4a14 100644 --- a/README.md +++ b/README.md @@ -30,12 +30,12 @@ Create a `.env` file to store your own custom env vars. See [`example.env`](exam 1. Start the local postgres database in a postgres container: `docker-compose -f docker-compose-dev.yml up postgres` 2. Build the auth binary: `make build` . You should see an output like this: -``` +```bash go build -ldflags "-X github.com/supabase/auth/cmd.Version=`git rev-parse HEAD`" GOOS=linux GOARCH=arm64 go build -ldflags "-X github.com/supabase/auth/cmd.Version=`git rev-parse HEAD`" -o gotrue-arm64 ``` -3. Execute the auth binary: `./gotrue` +3. Execute the auth binary: `./auth` ### If you have docker installed