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:
...
Navigate to the
<DS_HOME>/bin
directory.Code Block 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 places directories and calls executes thewso2server.sh/wso2server.bat
script based on the OS being used.OS Script Format Linux/Mac wso2ds-samples.sh
wso2ds-samples.sh -sn <SAMPLE_NUMBER>
Windows wso2ds-samples.bat
wso2ds-samples.bat -sn <SAMPLE_NUMBER>
The
<SAMPLE_NUMBER>
refers to the integer used to name the sample folder. See DS sample directory to identify the sample numbers that correspond to the respective DS samples.Example:
As the name of the folder that contains the drill down dashboard sample iss0
, use one of the following commands to run the drill down sample:Localtabgroup Localtab active true title Linux/Mac Code Block wso2ds-samples.sh -sn 0
Localtab title Mac Code Block wso2ds-samples.bat -sn 0
0
DS sample directory
Sample Name | Sample Number |
---|---|
Drill down dashboard | 0 |
Inter-gadget communication | 1 |