Installer Recipe: an automated script that takes care of creating directories, moving files, updating configuration and properties files, and initializing the system.
The Installer is currently only intended to install SAP Hybris Commerce in development environments or for demonstration purposes and NOT for production environments.
The Installer allows you to easily install the SAP Hybris Commerce flavor, that is, SAP Hybris Commerce with the desired application, such as B2C Accelerator or Telco & Media Accelerator.
The Installer replaces the manual procedure that you used to install and initialize previous versions of SAP Hybris Commerce.
Caution: The Installer doesn't uninstall recipes and doesn't restore your Hybris file system to its original settings. Hence don’t use the Installer to run one recipe after another on the same Hybris Commerce. To install another recipe, use a clean Hybris Commerce.
To install SAP Hybris Commerce and the desired application (flavor):
1. Go to the installer directory
If you don't know the name of your installer recipe, you can verify it in the recipes directory
2. To install the SAP Hybris Commerce flavor using the required recipe:
- On Windows: install.bat -r <recipe_name>
- On Linux or Mac: ./install.sh -r <recipe_name>
3. To initialize SAP Hybris Commerce:
- On Windows: install.bat -r <recipe_name> initialize
- On Linux or Mac: ./install.sh -r <recipe_name> initialize
4. To start SAP Hybris Commerce:
- On Windows: install.bat -r <recipe_name> start
- On Linux or Mac: ./install.sh -r <recipe_name> start
To perform the steps 2, 3 and 4 in a single command, execute the following:
- On Windows: install.bat -r <recipe_name> perform
- On Linux or Mac: ./install.sh -r <recipe_name> perform
Options for Installer Script
./install.sh -r <recipe>
Setup task for the specified recipe.
./install.sh -r <recipe> initialize
Initializes the Commerce Suite.
./install.sh -r <recipe> start
Starts the Hybris Server.
./install.sh -r <recipe> buildSystem
Builds the Commerce Suite.
./install.sh -l <recipe>
Lists all available recipes.
./install.sh -d <recipe>
Sets the Gradle log level to DEBUG.
./install.sh -i <recipe>
Sets the Gradle log level to INFO.
./install.sh -s <recipe>
Prints out the stack trace for all exceptions.
./install.sh -h <recipe>
Prints help to screen.
./install.sh -t <recipe>
Lists all the tasks available for the specified recipe.
./install.sh -r <recipe> -P <path>
Sets the platform home to the specified directory.
No comments:
Post a Comment