- Magento Enterprise credentials.
- Docker Community Edition.
-
Create the project template by going to the place you want the new project (ex. cd ~/Sites/magento2), then run:
curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/template|bash -s -- magento-2
-
Download a fresh copy of the Magento source code for starting a new project:
bin/download 2.3.0
-
Remove
src
folder and create the new Magento Enterprise project:rm -rf src
composer create-project --repository=https://repo.magento.com/ --ignore-platform-reqs magento/project-enterprise-edition=2.3.0 src
-
Add an entry to your local hosts file with your custom domain. Assuming the domain you want to setup is
magento2.test
, enter the below:echo "127.0.0.1 magento2.test" | sudo tee -a /etc/hosts
-
Run Magento's setup install process with the below helper script:
bin/setup magento2.test
-
Deploy & install sample data:
bin/magento sampledata:deploy
bin/magento setup:upgrade
-
You may now access your site!
https://magento2.test
-
Add the MCOM connector repository to the composer.json file:
vim src/composer.json
{ "repositories": [ { "type": "composer", "url": "https://mcom-connector.bcn.magento.com" } ] }
-
Require mcom-connector:
bin/composer require magento/mcom-connector
-
Magento upgrade:
bin/magento setup:upgrade