Skip to content

Use remix db commands in remaining demos - #11729

Open
mjackson wants to merge 1 commit into
mainfrom
mjackson/use-remix-cli-in-demos
Open

Use remix db commands in remaining demos#11729
mjackson wants to merge 1 commit into
mainfrom
mjackson/use-remix-cli-in-demos

Conversation

@mjackson

Copy link
Copy Markdown
Member

The bookstore now uses the database lifecycle commands added in #11640, but Social Auth and Timeboxer still migrated their databases inside the application server. This completes the same conversion across the remaining database-backed demos.

  • adds remix db scripts for migration status, migration, and reset in both demos
  • exposes the configured seed command in Social Auth
  • separates database setup from server startup
  • documents the explicit setup and maintenance workflow

The other demos already run their suites through remix test, pass remix doctor, and expose route maps through remix routes without additional configuration.

Before:

pnpm start

After:

pnpm db:reset
pnpm start

Follows #11728.

@github-actions

Copy link
Copy Markdown
Contributor

Preview Build Available

A preview build has been created for this PR. You can install it using:

pnpm install "remix-run/remix#preview/pr-11729&path:packages/remix"

This preview build will be updated automatically as you push new commits.

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.

1 participant