Is Hybris installer used for demonstration purpose

2019-08-20 12:11发布

问题:

I've spent a week trying to understand how Hybris installer works and I thought I could create any type of application with recipes. However my teammate said that those recipes are useless for dev or production setup. But why installer folder is a top folder in Hybris installation? Only for demo?

回答1:

Your teammate correct, installer used for creating demo system.



回答2:

In the Hybris WIKI are two sites that explain this one:

Installing Hybris Using Installer Recipes

Installing SAP Hybris Commerce

But you can also just have a look into the install recipes. There is no big magic behind it. Just browse to:

hybris\installer\recipes\b2c_acc\build.gradle

(for example) and have a look into it. First it sets some properties, than it defines which extensions should be used and at last it install addons on other extensions (normally on the storefront).