Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magento Enterprise edition #13

Closed
freeyland opened this issue Oct 17, 2019 · 4 comments
Closed

Magento Enterprise edition #13

freeyland opened this issue Oct 17, 2019 · 4 comments

Comments

@freeyland
Copy link
Contributor

Would be nice if also enterprise edition can be downloaded

@shkoliar
Copy link
Member

Toolset uses Nexcess hosted Magento Open Source packages, unfortunately, Magento Commerce is not available there.

As an option, to use Magento Commerce with m2c toolset, you may try to download Magento Commerce sources manually from Magento website (special requires access is required) and initialize m2c project from existing sources.

@freeyland
Copy link
Contributor Author

Maybe an other option is instead of downloading rom Nexus, that an install is done insedie the container with composer from official repo.

@freeyland
Copy link
Contributor Author

For people interested:
if [[ -z ${E2C_CFG_MAGENTO_EDITION} ]]
then
e2c_set_opt_version "Magento edition (CE or EE)" "${e2c_magento_editions[@]}"
fi

if [[ ${E2C_CFG_MAGENTO_EDITION} == "EE" ]]
then
edition="project-enterprise-edition"
else
edition="project-community-edition"
fi

if [[ -n ${E2C_CFG_MAGENTO_SRC} ]]
m2c_msg "Composer install magento in temp folder................................ "
m2c_loading
m2c_composer create-project --repository=https://repo.magento.com magento/$edition=$E2C_CFG_MAGENTO ./temp >"$m2c_log" 2>&1
m2c_result $?
m2c_msg "Copy temp folder to /var/www/html/..................................... "
m2c_loading
m2c_cli notty cp -r temp/. /var/www/html
m2c_result $?
m2c_msg "Remove temp folder .................................................... "
m2c_loading
m2c_cli notty rm -Rf temp >"$m2c_log" 2>&1
m2c_result $?
m2c_loading
m2c_msg "Composer install hirak/prestissimo..................................... "
m2c_loading
m2c_composer notty global require hirak/prestissimo >"$m2c_log" 2>&1
m2c_result $?
m2c_msg "Composer install cweagans/composer-patches............................. "

        [[ "$e2c_os" == "darwin" ]] && e2c_pull --all

fi

@shkoliar
Copy link
Member

shkoliar commented Nov 13, 2019

I was thinking about adding an option like this, but it is easier to run composer create-project on the host to get Magento Commerce project files locally and then init mage2click project within that directory. m2c init will automatically detect Magento sources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants