WSO2 Dashboard Server (DS) is shipped with a set of samples, which helps you get a better understanding of the product. Separate shell and batch scripts are provided, so that you can easily deploy the sample.
Follow the instructions below to run a DS sample:
Before carrying out the following steps, install the required prerequisites.
Navigate to the
<DS_HOME>/bin
directory.cd <DS_HOME>/bin
Run the
wso2ds-samples
script based on your operating system (OS). When thewso2ds-samples
script is executed, it copies the respective sample files into the necessary directories and executes thewso2server.sh/wso2server.bat
script based on the OS being used.OS Command Format Example Option 1 Option 2 Linux/Mac ./wso2ds-samples.sh -sn <SAMPLE_NUMBER>
sh wso2ds-samples.sh -sn <SAMPLE_NUMBER>
./wso2ds-samples.sh -sn 0
Windows ./wso2ds-samples.bat -sn <SAMPLE_NUMBER>
sh wso2ds-samples.bat -sn <SAMPLE_NUMBER>
sh wso2ds-samples.bat -sn 0
The
<SAMPLE_NUMBER>
refers to the integer used to name the sample folder. See the following to identify the sample numbers that correspond to the respective DS samples.Sample Name Sample Number Drill down dashboard 0 Inter-gadget communication support 1 webSocket support 2