Skip to content

crino85/magento-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

Magento 2.3.0 + Docker + MCOM Connector

Prerequisites

  1. Magento Enterprise credentials.
  2. Docker Community Edition.

Magento 2 instance setup (macOS/Linux)

  1. 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
  2. Download a fresh copy of the Magento source code for starting a new project:

    • bin/download 2.3.0
  3. 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
  4. 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
  5. Run Magento's setup install process with the below helper script:

    • bin/setup magento2.test
  6. Deploy & install sample data:

    • bin/magento sampledata:deploy
    • bin/magento setup:upgrade
  7. You may now access your site!

    • https://magento2.test

Configure MCOM connector

  1. Add the MCOM connector repository to the composer.json file:

    • vim src/composer.json
    • { "repositories": [ { "type": "composer", "url": "https://mcom-connector.bcn.magento.com" } ] }
  2. Require mcom-connector:

    • bin/composer require magento/mcom-connector
  3. Magento upgrade:

    • bin/magento setup:upgrade

About

Magento 2.3 + Docker + MCOM Connector

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published