[Hybris] Hybris6.3 the environment to build

Source: Internet
Author: User

1. Extract Hybris6.3. (Hybriscomm6300p_0-70002554.zip can be downloaded on official web)

2. Install the Chinese version of the Basic code (all the Chinatrail in the example with the replacement required)

3. Put {hybris_home}\hybris\bin\custom\sjet\sjetstorefront\web\addonsrc\chinacheckoutaddon\de\hybris\platform\ Chinaaccelerator\storefront\checkout\controllers\alipay\mock\alipaymockwebcontroller.java

In the file

Import De.hybris.platform.ychinaaccelerator.storefront.util.CSRFRequestDataValueProcessor;

Comments, Importorg.sjet.ygcg.chinastorefront.util.CSRFRequestDataValueProcessor;

4. Put the MySQL bag

Put it in {Hybris_home}\hybris\bin\platform\lib\dbdriver

5. {Hybris_home}\hybris\config\local.properties content changed to

Commerceservices.default.desktop.ui.experience=responsive

Uiexperience.level.supported=desktop

Addon.china.install.strategy=b2c

#overwriteweb. Gateway for Alipay

Web.gateway=http://electronics-cn.local:9001/baiyunstorefront/electronics-cn/zh/alipay/mock/gateway.do?

#overwritespringconfig for Chinacheckoutaddon

baiyunstorefront.additionalwebspringconfigs.chinacheckoutaddon=classpath:/chinacheckoutaddon/web/spring/ Chinacheckoutaddon-web-spring.xml

Db.url=jdbc:mysql://localhost:3306/baiyun?useunicode=true&characterencoding=utf-8

Db.driver=com.mysql.jdbc.driver

Db.username=root

Db.password=123

#mysql. allow.fractional.seconds=true

#build. parallel=true

Hac.webroot=/hac

The *mysql database version must be higher than 5.6

6. Cmd enters {hybris_home}\hybris\bin\platform

->setantenv

-> Ant Clean All

->hybrisserver

7. Start server and enter Http://localhost:9001/hac

8. Platform->initialization Press Initialize to initialize the database


* If you need the HMC, you can add it to the core extensioninfo.xml.

<requires-extension name= "HMC"/>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.