CLI app to build Magento 2 Docker environments easily.
- Docker
- A NodeJS supporting promises, async/await, promisify… I'm using v10.
- Clone the repo and enter the directory
- Run
npm install -g .
To uninstall run npm uninstall -g .
from the project's directory.
~$ mkdir my_project && cd my_project
my_project$ m2env init [--packages /path/to/m2/plugins/dir]
my_project$ m2env build
my_project$ docker-compose up
# wait… and in other shell when finishes…
my_project$ m2env install-magento
# if you want to isntall a plugin…
my_project$ m2env install-plugin doofinder/doofinder-magento2
95% of Docker stuff was provided by @magently (https://www.magently.com/).