Install Magento 2.4.6 for Windows 2FA via Warden and WSL 2 - ECommerce Development Environment
Автор: Anime Nyan
Загружено: 2023-07-08
Просмотров: 6851
Описание:
A tutorial on how to setup the Magento 2.4.6 installation for Windows that I've verified works.
*Note:* Will not work from iPhones or iPads. Only works for Desktops and Discord account age must be 18+
Discord: / discord
Installing Warden:
https://docs.warden.dev/installing.html
Installing Magento 2 via Warden:
https://docs.warden.dev/environments/...
==To add to Hosts file:==
Warden Global Services (run with warden svc up)
127.0.0.1 traefik.warden.test
127.0.0.1 portainer.warden.test
127.0.0.1 dnsmasq.warden.test
127.0.0.1 mailhog.warden.test
Project environments (run with warden env up)
127.0.0.1 app.youtube-demo.test
==Gitignore file from official Magento 2.4.6 github (remove the line /app/etc/config.php):==
Important: At 29:50 I made a mistake the .gitignore file should be on your Ubuntu filesystem NOT in warden shell. I added the gitignore file while I was in warden shell, this is wrong. You should create the .gitignore file while you're in the ~/Sites/youtube-demo folder apologies for this mistake.
https://raw.githubusercontent.com/mag...
==Adobe Commerce Marketplace for Access Keys:==
https://commercemarketplace.adobe.com/
==Python 2FA command for 2.7:==
OTPAUTH_QRI=
TFA_SECRET=$(python2 -c "import base64; print base64.b32encode('$(pwgen -A1 128)')" | sed 's/=*$//')
OTPAUTH_URL=$(printf "otpauth://totp/%s%%3Alocaladmin%%40example.com?issuer=%s&secret=%s" \
"${TRAEFIK_SUBDOMAIN}.${TRAEFIK_DOMAIN}" "${TRAEFIK_SUBDOMAIN}.${TRAEFIK_DOMAIN}" "${TFA_SECRET}"
)
OR
==Python 2FA command for 3.0+:==
OTPAUTH_QRI=
TFA_SECRET=$(python -c "import base64; print (base64.b32encode('$(pwgen -A1 128)'.encode()).decode('utf8'))" | sed 's/=*$//')
OTPAUTH_URL=$(printf "otpauth://totp/%s%%3Alocaladmin%%40example.com?issuer=%s&secret=%s" \
"${TRAEFIK_SUBDOMAIN}.${TRAEFIK_DOMAIN}" "${TRAEFIK_SUBDOMAIN}.${TRAEFIK_DOMAIN}" "${TFA_SECRET}"
)
This video is under the creative commons zero license.
-----------------------------------------------------------------
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: