Set up Cursor Cloud dev environment + AGENTS.md#87
Draft
matthewro7263-hub wants to merge 1 commit into
Draft
Conversation
Co-authored-by: Matt_Doberman <matthewro7263-hub@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 Cel development environment for Cursor Cloud agents and documents the non-obvious startup steps in a new
AGENTS.md. No application code is changed.The app is a single Express process serving the API + React/Vite SPA on one port, backed by PostgreSQL. The main hurdle was that
@neondatabase/serverlessonly talks to Postgres over a secure WebSocket and refuses plain local Postgres, so a small local Neon-compatible WSS→TCP proxy (baked into the VM snapshot, documented inAGENTS.md) bridges the driver to local Postgres without any code change.What was set up (in the VM snapshot)
pnpm installdependencies; Bun installed for the test runner; nativecanvasmodule compiled (cairo/pango libs).celDB + role created; full schema applied viadrizzle-kit push./home/ubuntu/neon-local-proxy.mjs) + self-signed cert;/workspace/.envconfigured (NODE_TLS_REJECT_UNAUTHORIZED=0for the self-signed cert, dev only).Update script
pnpm install(minimal dependency refresh; services/DB/proxy persist in the snapshot and are documented inAGENTS.md).Verification
pnpm check(typecheck) — passbun test— 29/29 passpnpm build— client + server bundle builtpnpm dev—/readyreturns{"db":"connected"}; signed up a user and created a project end-to-end via the UI.Cel landing page
Dashboard with created project
To show artifacts inline, enable in settings.