tilt: cross-platform backend startup#30
Open
infinitea1 wants to merge 1 commit into
Open
Conversation
The current serve_cmd uses bash-style env-var prefix and line continuations
(KEY="value" \). That works on macOS where Tilt runs commands through bash,
but on Windows Tilt invokes serve_cmd via `cmd /S /C`, which doesn't parse
bash continuations or env prefixes — so `tilt up` can't boot the backend on
a Windows machine.
Switch to Tilt's serve_env={...} dict (platform-agnostic env wiring) and
swap the pre-built bin/server invocation for `go run ./cmd/server` (no
OS-specific binary suffix). Same env vars, same behaviour on macOS — also
works on Windows now.
Also gitignore CLAUDE.md / CLAUDE.local.md / .claude/ for personal
agent-tooling files.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
samrford
reviewed
May 4, 2026
| 'MINIO_USER': envvar('MINIO_USER', 'beyond-admin'), | ||
| 'MINIO_PASSWORD': envvar('MINIO_PASSWORD', 'beyond-password'), | ||
| 'MINIO_PUBLIC_URL': envvar('MINIO_PUBLIC_URL', 'http://localhost:9000'), | ||
| 'SUPABASE_URL': envvar('SUPABASE_URL'), |
Owner
There was a problem hiding this comment.
Suggested change
| 'SUPABASE_URL': envvar('SUPABASE_URL'), | |
| 'SUPABASE_URL': envvar('SUPABASE_URL', 'https://zzoxjjkljxbaycmubwog.supabase.co'), |
I'd like to keep this as the default.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The current serve_cmd uses bash-style env-var prefix and line continuations (KEY="value" ). That works on macOS where Tilt runs commands through bash, but on Windows Tilt invokes serve_cmd via
cmd /S /C, which doesn't parse bash continuations or env prefixes — sotilt upcan't boot the backend on a Windows machine.Switch to Tilt's serve_env={...} dict (platform-agnostic env wiring) and swap the pre-built bin/server invocation for
go run ./cmd/server(no OS-specific binary suffix). Same env vars, same behaviour on macOS — also works on Windows now.Also gitignore CLAUDE.md / CLAUDE.local.md / .claude/ for personal agent-tooling files.
Can you check it still works for you? I had to do this change to get it running on windows.