Skip to content

Conversation

@aimanecouissi
Copy link
Contributor

This PR adds a new init script to simplify Magento local environment setup.

Includes

  • Deploys sample data
  • Disables Two-Factor Authentication (dev only)
  • Sets long admin session lifetime
  • Generates URN catalog

Purpose

Streamlines the initialization process for local development, reducing manual steps.

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Sep 10, 2025
@what-the-diff
Copy link

what-the-diff bot commented Sep 10, 2025

PR Summary

  • README Update
    The instructions manual (README.md) has been updated with a fresh command. This lets users initiate the development setting populated with sample data and modules intended for development.

  • New Automation Script
    We've introduced a new script, named 'bin/init'. This helps in automating the complete setup of the Magento development ecosystem. Processes like deploying the sample data, disabling two-factor authentication, and performing necessary setup instructions are automated, which saves time and reduces the possibility of human error.

  • Makefile Help Upgrade
    A new instruction has been added to the Makefile help section to explain the functionality of the init command, providing users with understanding and guidance to utilize this new feature effectively.

@dosubot dosubot bot added the feature label Sep 10, 2025
@markshust
Copy link
Owner

This looks awesome -- will test it out momentarily

@markshust markshust self-assigned this Oct 21, 2025
@markshust
Copy link
Owner

I optimized the script so setup:upgrade isn't executed twice. Also fixed the index:reindex command to indexer:reindex. Commit at fb9aa49

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. and removed size:XS This PR changes 0-9 lines, ignoring generated files. labels Oct 21, 2025
@markshust markshust changed the title Add 'init' Script to Setup Magento Development Environment Quickly bin/init script to initialize development environment with sample data and dev-related modules Oct 21, 2025
@markshust
Copy link
Owner

Updated README and etc. with this new script. Thanks, this is a big time-saver. Merging in, and I'll tag a new release shortly.

@markshust markshust merged commit cbcfd97 into markshust:release/next Oct 21, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants