Open SadkiratSingh opened 1 year ago
I tried the second way to use public magento image. I created a docker compose file using the instructons here: https://hub.docker.com/r/bitnami/magento/ . The docker compose file looks like this: magento-docker-compose .yml.txt
However, after running: docker-compose up -d --build
wait for some time, magento takes some time to set up.
access magento on http://localhost:8081.
I cannot see any styling.
I cannot access "http://localhost:8081/admin", I believe that needs to be set up explicitly
Steps in locally deploying Magento. Although everything is documented here, I am documenting the steps I followed and consequently I missed something due to which I could not see the final result.
Prerequisites:
Now visit this link and mark the heading On-premises projects
Create magento project by running following command:
composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition <install-directory-name> --ignore-platform-reqs
ignore-platform-reqs
flag is used to bypass this errorcomposer require --no-update --dev magento/ece-tools magento/magento-cloud-docker
composer update
to update the dependencies. This command reads your composer.json file. composer.json got created when you ran composer create-project command above../vendor/bin/ece-docker build:compose
to create docker-compose.yml file from .magento.docker.ymldocker-compose up -d
docker-compose run --rm deploy cloud-deploy