Shopizer网站二次开发

Deploying Shopizer

The following information applies to Shopizer source distribution. If your intention is to test the application, there is a distribution bundled with Jetty ready to run without configuration.

I assume you are using Tomcat and that you want to use HSQL DB included (no installation required) Assuming you are deploying media web application for serving media files

1) Edit <shopizer>/sm-core/conf/properties/sm-core-config.properties

#your server url
core.domain.http.unsecure=http
core.domain.http.secure=http
core.domain.server=localhost:8080

You need to specify the absolute path to your exploded deployed media application for being able to upload images and properly use the CMS, so those properties need to point to your tomcat installation (assuming you are using media web application)

#media request uri
core.store.mediaurl=/media
#This is the media bin absolute path for storing branding images, product images and files (js, css, flash...)
#This is the path where you will be dropping your war files
core.bin.mediapath=c:/dev/apache-tomcat-6.0.20/webapps
#This is the absolute path where downloadable files will reside
core.download.path=c:/dev/apache-tomcat-6.0.20/webapps/media/download

2) Assuming you have eclipse IDE to edit the code and have installed ANT

right click on sm-media/build.xml and select 'Run As - Ant Build' right click on sm-central/build.xml and select 'Run As - Ant Build' right click on sm-shop/build.xml and select 'Run As - Ant Build'

If you don't have eclipse, just run ANT command in the root of sm-central, sm-shop and media source folders

Those commands will create media.war, shop.war and central.war in <shopizer>/dist

3) again assuming you have installed tomcat, just copy those 3 war files created in the previous step to

<TOMCAT INSTALLATION>/webapps

4) assuming you will use HSQL DB provided with source distribution, start the database

<shopizer>/schema/other/hsqldb-memory/startdb.bat

** You can use MySQL or Oracle if you want, the installation procedure is described in <shopizer>/schema/readme.txt and in a section of this document.

5) start Tomcat <TOMCAT INSTALLATION>/bin/startup.bat

once fully deployed, invoke

administration url → http:<yourhost>:<yourport>/central username: admin password: password catalogue url → http:<yourhost>:<yourport>/shop

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值