码迷,mamicode.com
首页 > 其他好文 > 详细

hybris安装B2B

时间:2017-11-22 13:09:34      阅读:246      评论:0      收藏:0      [点我收藏+]

标签:bat   demo   生成   name   文件   set   tps   custom   bin   

1.首先进入hybris installer目录

执行 install.bat -r b2b_acc

2.进入 bin\platform 目录

执行 setantenv.bat


注释掉 <extension name=‘yb2bacceleratorstorefront‘ />   并删除custom文件夹下的yb2bacceleratorstorefront工程

执行 ant modulegen
按提示输入 正常建Demo就选择默认的

将生成的extensions 加到 localextensions.xml 中。

3.执行下面2个命令

ant addoninstall -Daddonnames="b2bacceleratoraddon" -DaddonStorefront.yacceleratorstorefront="trainingstorefront"
ant addoninstall -Daddonnames="commerceorgaddon" -DaddonStorefront.yacceleratorstorefront="trainingstorefront"

4.local.propeties文件中加入以下2行
website.powertools.http=http://powertools.local:9001/trainingstorefront
website.powertools.https=https://powertools.local:9002/trainingstorefront

5.需要加入hmc,backoffice的自选把对应的extensions加到localextensions.xml中

6.系统初始化
ant initialize

7.hosts中加入以下配置
127.0.0.1   powertools.local

8.通过下面的地址就可以进行访问了
http://powertools.local:9001/trainingstorefront

 

hybris安装B2B

标签:bat   demo   生成   name   文件   set   tps   custom   bin   

原文地址:http://www.cnblogs.com/wahaha603/p/7878399.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!