Skip to content

Bootstrap CodePress Live Dev Server recipe + dev Dockerfile - #53

Open
codepress-dev[bot] wants to merge 1 commit into
masterfrom
codepress/dev@codepress.dev/bootstrap-live-dev-server-artifacts-23ea2fd9
Open

Bootstrap CodePress Live Dev Server recipe + dev Dockerfile#53
codepress-dev[bot] wants to merge 1 commit into
masterfrom
codepress/dev@codepress.dev/bootstrap-live-dev-server-artifacts-23ea2fd9

Conversation

@codepress-dev

@codepress-dev codepress-dev Bot commented Jul 27, 2026

Copy link
Copy Markdown

Summary

Adds repository-owned Live Dev Server configuration for the React frontend, so previews use a repeatable dev image and start command.

Technical details

The recipe identifies web/ as a Create React App frontend with Yarn dependency hydration and port 3000. Its thin image installs only the required runtime tooling, binds to the preview host, and routes CRA’s HMR client to the public preview port. The Django service remains unchanged: it has no existing cross-origin CORS surface and no staging-only configuration location, so preview CORS was not added.

Test plan

  • Start a Live Dev Server preview for web/ and verify the app loads on port 3000.
  • Change a React component and verify the browser reloads through the preview host.

Open items

There is no declared staging backend URL to prefill. If this app later calls a separate staging API, add a staging-only backend declaration and configure the frontend’s public API variable.

Generated with CodePress

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.

0 participants