Skip to content

docs: Cursor Cloud Linux development environment guide - #39

Merged
bisonbet merged 1 commit into
mainfrom
cursor/linux-dev-environment-9f92
May 29, 2026
Merged

docs: Cursor Cloud Linux development environment guide#39
bisonbet merged 1 commit into
mainfrom
cursor/linux-dev-environment-9f92

Conversation

@bisonbet

Copy link
Copy Markdown
Owner

Summary

Documents how to develop BisonHealth AI on Cursor Cloud Linux VMs, where the iOS app cannot be built or run. Covers SwiftLint static analysis, optional Ollama backend smoke tests, and macOS-only xcodebuild requirements.

Environment verified on Linux VM

  • SwiftLint 0.57.0 — lints HealthApp/ Swift sources (5092 existing style warnings; no new code changes)
  • Ollama on 127.0.0.1:11434/api/tags and /api/chat hello-world successful (tinyllama)
  • Swift 6.0.3 toolchain installed at /opt/swift
  • xcodebuild — not available on Linux (expected); full build/test requires macOS + Xcode 15+

VM startup

Update script is a no-op (true) — no root lockfiles in this repo; SwiftPM resolves on Mac via Xcode.

Privacy

Documentation only; no PHI or secrets.

Open in Web Open in Cursor 

Document SwiftLint/Ollama workflows on Linux VMs, macOS-only
xcodebuild requirements, and Ollama tmux startup for cloud agents.

Co-authored-by: Tim Champ <bisonbet@users.noreply.github.com>
@bisonbet
bisonbet marked this pull request as ready for review May 29, 2026 21:56
@bisonbet
bisonbet merged commit 40ca061 into main May 29, 2026
0 of 2 checks passed
@bisonbet
bisonbet deleted the cursor/linux-dev-environment-9f92 branch May 29, 2026 21:57

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 781a3010bc

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread AGENTS.md
SESSION_NAME="ollama-server"
tmux -f /exec-daemon/tmux.portal.conf has-session -t "=$SESSION_NAME" 2>/dev/null \
|| tmux -f /exec-daemon/tmux.portal.conf new-session -d -s "$SESSION_NAME" -- "${SHELL:-bash}" -l
tmux -f /exec-daemon/tmux.portal.conf send-keys -t "$SESSION_NAME:0.0" 'ollama serve' C-m

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Bind Ollama to an external interface

When following the later Mac + Linux VM workflow and pointing the app at http://<cloud-vm-host>:11434, this ollama serve command leaves Ollama listening only on loopback by default. The official Ollama FAQ states that Ollama binds 127.0.0.1:11434 by default and needs OLLAMA_HOST to change the bind address, so the VM-local smoke tests pass while the Mac/device cannot connect to the advertised host URL.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants