Skip to content

Commit

Permalink
Add a bit about the env vars to the main readme
Browse files Browse the repository at this point in the history
  • Loading branch information
gempesaw committed Oct 2, 2024
1 parent 872e25d commit 76c2c68
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,16 @@ From `./frontend`, run:
npm run dev
```

### Change where the backend listens

You can run the backend on different bind addresses, but you'll need to update
the frontend too:

```
go run ../cmd/bb_portal/main.go --bind-http=:9091 --bind-grpc=:9092 &
NEXT_PUBLIC_BES_BACKEND_URL=http://localhost:9091 NEXT_PUBLIC_BES_GRPC_BACKEND_URL=grpc://localhost:9092 npm run dev
```

## Using the Application

Go to http://localhost:8081.
Expand Down

0 comments on commit 76c2c68

Please sign in to comment.