Open Ersian-zz opened 7 years ago
Same Issue here
There are a couple issues like this, from what I remember. I eventually rolled my own, but copied 90% of it.
edit: I think it's supposed to be more like an example script. Every M2 site is different and you can't rely on using this Composer package (as you can't overwrite tasks or anything).
The problem here is this config is based on Magento 2 EE and most of us run the community edition. Just fork or vendor it and change:
$this->execute("php bin/magento setup:di:compile-multi-tenant");
to:
$this->execute("php bin/magento setup:di:compile");
And be sure to update your .platform.app.yaml
file to reference the new paths under the vendor
directory. You'll most likely run into other problems with env.php
or the database so I'd just go with what @erfanimani said and copy this repo into yours and start modifying the tasks to suit your particular setup.
When I deploy I got this error:
Shouldn't be
setup:di:compile
instead ofsetup:di:compile-multi-tenant
?I'm on Magento 2.1.2 and use the
dev-master
version of Platformsh in composer.