- Install the latest version of PHP and enable all the extensions for magento
- Install composer
- Install Docker
- Create auth.json file for magento credentials https://devdocs.magento.com/guides/v2.3/install-gde/prereq/connect-auth.html
- Run the following Steps
Run MYSQL and ElasticSearch
docker-compose up
Download Magento into public_html
download
install
run
Getting magento auth credentials: https://experienceleague.adobe.com/docs/commerce-operations/installation-guide/prerequisites/authentication-keys.html
Docker issues
Windows:
wsl -d docker-desktop
sysctl -w vm.max_map_count=262144
Linux:
sysctl -w vm.max_map_count=262144
Helper CLI Scripts
# Install Sample Data
sample-data
# Run Magento bin
magento [arguments]
# Clear Caches
cache-clear