Allows to extract admin, storefront and WebAPI modules. Example usage
php extract-ui-modules.php magento2ce/app/code/Magento
Allows to remove packages that are not need on UI instance from composer.json
(on admin instance we don't need storefront and WebAPI modules). Example usage
php prepare-composer-json.php magento2ce/composer.json admin
Should be able to install packages, Magento and login to admin.
- Clone https://github.com/magento-architects/magento2ce/tree/distributed-deployment magento2ce
cp -r magento2ce magento2ce-repo/
- this is needed to use composer path type repophp extract-ui-modules.php magento2ce/magento2ce/app/code/Magento
rm -rf magento2ce/app/code/Magento/*
rm -rf magento2ce/lib/internal/Magento/*
php prepare-composer-json.php magento2ce/composer.json admin-ui
cd magento2ce
composer install