Proposal to enhance Magento setup #1091
YevhenZvieriev
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Thank you for the proposal -- let me think about this! Keep in mind that the current setup process runs without interaction, so if we were to move forward with this, these would need to be either configurable arguments (defaulting to "no") that were asked before the install kicks off, and/or flags/arguments that were passed in at the start of setup. We'll need to think this through to see what the best approach is to handle this, but I do initially believe this to be a good addition 👍 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, @markshust !
I hope this message finds you well. I'm writing to propose some enhancements to the
bin/setup
script. After working with the current setup, there are opportunities to streamline the installation process and improve the user experience.Here's a summary of the modifications I suggest implementing:
Installation of Sample Data: Deploying sample data during the setup process can significantly expedite the development and testing workflows of the new project Magento 2. With sample data readily available, developers can better evaluate the functionality of Magento. After installing Magento, every user deploys sample data, so we can add a possibility in the
bin/setup
script to deploy sample data.Disabling Two-Factor Authentication (2FA): While security is paramount, the enforced two-factor authentication in development environments can sometimes impede productivity. By providing an option to disable 2FA during setup, developers can more efficiently test and debug their Magento applications locally.
For example, I can extend the bin/configure-linux script, and
bin/setup
will execute the extendedbin/configure-linux
script to ask users if they want to install sample data and disable 2FA.Do you want to install Magento 2 Sample data? (y/n):
Do you want to disable 2FA? (y/n):
Please let me know your thoughts on this proposal, and if you're open to integrating these enhancements into the repository. I'm excited about the potential improvements they can bring to the Magento development community and look forward to working together on this initiative.
Beta Was this translation helpful? Give feedback.
All reactions