Composer, Docker, Docker compose
- Initialize Magento Project (docs: https://devdocs.magento.com/guides/v2.3/install-gde/composer.html)
composer config --global http-basic.repo.magento.com <key> <pwd>
composer create-project --ignore-platform-reqs --repository=https://repo.magento.com/ magento/project-community-edition magento- Run Docker environment:
sudo git clone https://github.com/araujoantonio/dockerize-magento2.git
sudo cp -r dockerize-magento2/. magento/
cd magento/
chmod +x bin/console
chmod +x bin/magento
sudo chmod -R 777 generated/- Run Installation
sudo bin/console install <hostname>
# example:
sudo bin/console isntall 192.168.1.1003.1 If SSL certs creation fails:
set OPENSSL_CONF=c:/{path to openSSL}/bin/openssl.cfg
openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout config/nginx/ssl/key.pem -out config/nginx/ssl/cert.pemStart the docker containers:
bin/console start
Stop the docker containers:
bin/console stop
Execute bin/magento inside the docker container:
bin/console exec [arguments]
For more information on how to use docker-compose visit: https://docs.docker.com/compose/
Deprecated Functionality: Function ReflectionType::__toString() is deprecated in
/var/www/html/vendor/zendframework/zend-code/src/Reflection/ParameterReflection
.php on line 84
PHP version isn't supported.
Class Magento\Framework\App\ResourceConnection\Proxy does not existMake sure that the folders have the right permissions.