Set up Cursor Cloud development environment - #1
Draft
danielgerlag wants to merge 1 commit into
Draft
danielgerlag wants to merge 1 commit into
danielgerlag wants to merge 1 commit into
Conversation
Co-authored-by: Daniel Gerlag <danielgerlag@users.noreply.github.com>
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.
Summary
Sets up the DblEntry development environment for Cursor Cloud agents and verifies it end-to-end. No application code was modified — this PR only adds
AGENTS.mdwith durable, non-obvious setup notes.Environment
protoc(protobuf-compiler) — required bybuild.rs(tonic-build compilesproto/dblentry.proto).stable(1.98) — the default 1.83 lacksedition2024, whichrmcp-macros(viacrates/dblentry-mcp) requires.npm installinui/.cargo fetch+npm install --prefix ui.Verification
cargo build✓cargo test✓ (123 passed, 17 Postgres ignored)cargo clippy/cargo fmt --checkfail (pre-existing onmaster, CI red)cargo run -- --port 3001✓npm run builddeps installednpm run dev✓ (:5173)Hello-world (backend): ran the readme lending-fund FQL script via
POST /fql→LoanBookTotal: 1506.34and a balanced trial balance matching the readme.Hello-world (UI): created accounts + a journal through the Query page and saw the data flow to Accounts, Reports (Balance Sheet + Income Statement), and Dashboard.
Note on lint
cargo fmt --all -- --check(~700 diffs) andcargo clippy --all-targets -- -D warnings(result_large_errin generated tonic proto code) both fail onmasteralready — the project's GitHub CI is red for the same reason. These are pre-existing and left untouched.