10019---Installing the Accelerator Extension Set

来源:互联网 发布:nginx 全局变量赋值 编辑:程序博客网 时间:2024/06/04 18:59

Overview

To get started, we'll download and install the hybris Commerce Suite, modifying it somewhat to remove some extensions we won't be using in this trail,

 which will improve performance. 

Downloading the Commerce Suite

This trail assumes some familiarity with the hybris platform, so some basic steps might be left out. If you are uncertain how to do something,

you might want to work through the core platform trails here first.

Please download the 5.7.0.3 version of the hybris Commerce Suite from the hybris download page.

Installing the hybris Commerce Suite

Installing and Initializing 'hybris Commerce Suite' using the Installer

  • Extract the ZIP to a new or empty new or empty directory of your choice. If you're using Windows, please use a directory close to the root,

            and don't use directories with spaces in their names.
  • Open your terminal or command prompt, and navigate to  $(HYBRIS_BIN_DIR)/installer directory.
  • Install the hybris Commerce using the b2c_acc recipe by entering the following command install.bat -r b2c_acc
    The output should end with BUILD SUCCESSFUL

  • Initialize the hybris Commerce by entering the following command install.bat -r b2c_acc initialize. The initialization may take some time, 

           and the output should end with BUILD SUCCESSFUL

Running hybris

Start the hybris server with the command $(HYBRIS_BIN_DIR)/platform/hybrisserver.bat on Window, or $(HYBRIS_BIN_DIR)/platform/hybrisserver.sh on Unix/Linux-based systems. Then wait until the server has started up.


If you have administrator rights, it is a good idea to add the following entries in your host file.
The etc hosts modification allows the accelerator to identify sites (CMSSites) from the url.
If you are on windows machine it is normally located here c:\Windows\System32\drivers\etc\hosts
On Unix / Linux / Mac the file is located here /etc/hosts
127.0.0.1 hybris.local

This makes for a neater URL construction, so you can call http://hybris.local:9001/yacceleratorstorefront/
If you don't do this, the sites would need to be identified with an additional request parameter like:http://localhost:9001/yacceleratorstorefront/?site=hybris&clear=true


0 0