For H-Sphere 2.5 and higher
H-Sphere 2.5 and higher includes SiteStudio demo which is turned off by default.
To turn demo on:
- Go to the /hsphere/shared/SiteStudio/demo/WEB-INF/classes/psoft_config/masonry.properties file
- Change parameter ALLOW_DEMO=false to ALLOW_DEMO=true
Note: If you don't find ALLOW_DEMO variable,
simply add the line ALLOW_DEMO=true to the masonry.properties file
For H-Sphere 2.4 and higher
H-Sphere 2.4 and higher includes SiteStudio demo which is turned on by default.
You can find demo at: http://<SiteStudio_address:port>/demo/servlet/
Note: By default port is 8080.
To turn demo off, comment out the SiteStudio on-line Demo context in the ~cpanel/jakarta/conf/server.xml:
<!--
<Context path="/demo/servlet" docBase="/hsphere/shared/SiteStudio/demo"
reloadable="false" debug="0" allowLinking="true">
<Resources allowLinking="true"/>
<Logger className="org.apache.catalina.logger.FileLogger"
prefix="demo_studio_log." suffix=".txt" timestamp="true"/>
</Context>
-->
Alternatively, you can simply remove SiteStudio online demo context from the ~cpanel/jakarta/conf/server.xml
For H-Sphere 2.3.x or earlier
In H-Sphere 2.3.x and earlier SiteStudio demo is not included by default.
To set up a demo on the H-Sphere 2.3 server:
- Log into the H-Sphere control panel server as root.
- Download the script:
wget http://www.sitestudio.psoft.net/ssdoc/install-ss-demo.sh
- Run the script:
sh install-ss-demo.sh
The script will create the necessary directories, the masonry.properties file for the demo,
and a new zone (demo.properties) for jserv.
Important: This script is used only for H-Sphere 2.3.x.
Don't use it for higher versions of H-Sphere.
- Restart H-Sphere.
Now you can start your online SiteStudio demo (see example)
and access it at the following URL:
http://<SiteStudio_address:port>/demo/servlet/psoft.masonry.Builder
|