https://devdocs.magento.com/guides/v2.4/install-gde/install-flow-diagram.html
Setup Environment: (Timeline: 1 Day)
Suggest:
Recommend: Use ubuntu (or other linux distribution) to install and develop magento (magento doesn’t support windows)
If you don’t have ubuntu, you should run in Virtual Box/VM Ware
Official Guide:
https://devdocs.magento.com/guides/v2.4/install-gde/install-flow-diagram.html
Reference more detail guide:
Apache server: (recommend - easier to setup)
...
Note: Ingore step 9 (install HTTPS) in nginx guide. In development environment, most case doesn't need to run https.
Exercise:
Install the environment in Linux
Phpstorm install with Magento plugin supported
Install Magento, show home page, login to backend without errors.
Install Sample data:
Official Guide: https://devdocs.magento.com/guides/v2.4/install-gde/install/sample-data-after-composer.html
Reference other resource:
https://www.magetop.com/blog/cai-sample-data-trong-magento-2/
...