Skip to content

Add local Directus setup script with Node 24 support#117

Merged
denbec merged 1 commit intomainfrom
denbec/local-setup-script
Feb 3, 2026
Merged

Add local Directus setup script with Node 24 support#117
denbec merged 1 commit intomainfrom
denbec/local-setup-script

Conversation

@denbec
Copy link
Collaborator

@denbec denbec commented Feb 3, 2026

Summary

Adds a single-command setup script (npm run setup) that bootstraps a local Directus instance with schema and sample data. The script handles all prerequisites, builds extensions, applies the schema, and imports sample data from production.

Also updates package.json with an override for isolated-vm@^6.0.2 to support Node 24 native module compilation.

What's included

  • directus-cms/setup.sh - Automated setup script with three variants (full, no-data, reset)
  • Updated README with quick start instructions
  • Node 19-24 compatibility with setuptools prerequisite documentation

Test plan

  • Run npm run setup to verify full setup works
  • Test schema application and local sample data creation
  • Verify Directus starts successfully

🤖 Generated with Claude Code

Adds a single-command setup script that bootstraps a local Directus instance with schema and sample data. The script handles all prerequisites, builds extensions, applies the schema, and imports sample data from production.

Updates package.json with npm scripts for easy setup and an override for isolated-vm@^6.0.2 to support Node 24 native module compilation.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Feb 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
programmierbar-website Ready Ready Preview, Comment Feb 3, 2026 2:32pm

Request Review

@denbec denbec merged commit 56cf760 into main Feb 3, 2026
3 checks passed
@denbec denbec deleted the denbec/local-setup-script branch February 4, 2026 15:02
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