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"/>