Skip to content

Optimize module installation and migration for efficiency and error handling#12

Merged
roble merged 1 commit into
mainfrom
dev
Jun 25, 2026
Merged

Optimize module installation and migration for efficiency and error handling#12
roble merged 1 commit into
mainfrom
dev

Conversation

@roble

@roble roble commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

This pull request streamlines and simplifies the module installation and migration process for both native and Docker environments. The main improvement is batching all selected modules into a single composer require call and running a single global migration (migrate --force) instead of individual per-module migrations, followed by per-module seeding. Documentation has also been updated to reflect these changes.

Module installation and migration process simplification:

  • src/Console/Commands/InstallCommand.php: Changed the module setup flow to batch all selected modules into one composer require call, run a single migrate --force for all modules, and then seed each module individually with db:seed --module={name} --force. This replaces the previous approach of running per-module migrations.
  • src/Environments/DockerEnvironment.php: Updated the Docker module installation to match the new approach—single composer require, one global migrate --force in the container, and per-module seeding. Removed the per-module migration step.

Documentation updates:

  • README.md: Updated the module installation step to describe the new batched composer require, global migration, and per-module seeding process.
  • CLAUDE.md: Revised both the native and Docker flows to document the new batched module installation, single migration, and per-module seeding steps. [1] [2]

@roble roble merged commit 87cb184 into main Jun 25, 2026
2 checks passed
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