Skip to content

Set up Cursor Cloud development environment#4

Draft
dani-polani wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-c479
Draft

Set up Cursor Cloud development environment#4
dani-polani wants to merge 1 commit into
mainfrom
cursor/setup-dev-environment-c479

Conversation

@dani-polani

Copy link
Copy Markdown
Contributor

Summary

Sets up the development environment for the Word Aligner SvelteKit app (lives in bitext/) and verifies it end-to-end.

  • Configured the startup update script to npm --prefix bitext ci.
  • Added a ## Cursor Cloud specific instructions section to AGENTS.md capturing the non-obvious facts: the app lives in the bitext/ subdirectory, no secrets are needed for dev/test/build/run, and how to start the dev server + verify the core flow.

Verification

All checks run from bitext/:

  • npm run lint — Prettier + ESLint pass
  • npm test — 62 tests pass (7 files)
  • npm run build — production build succeeds
  • npm run dev — dev server serves HTTP 200 on port 5173
  • POST /api/align — returns a shareable ?data= URL

Hello-world task

Loaded the app, then linked words across two lines ("Hello"↔"Bonjour", "world"↔"monde") and confirmed curved connectors are drawn.

word_aligner_linking_demo.mp4

Word Aligner with connectors drawn between aligned words

To show artifacts inline, enable in settings.

Open in Web Open in Cursor 

Co-authored-by: Dani Polani <mytasmic@gmail.com>
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