Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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:

...

  1. Navigate to the <DS_HOME>/bin directory.

    Code Block
    cd <DS_HOME>/bin
  2. Run the wso2ds-samples script based on your operating system (OS). When the wso2ds-samples script is executed, it copies the respective sample files into the necessary places directories and calls executes the wso2server.sh/wso2server.bat script based on the OS being used.

    OSScriptFormat
    Linux/Macwso2ds-samples.shwso2ds-samples.sh -sn <SAMPLE_NUMBER>
    Windowswso2ds-samples.batwso2ds-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 is s0, use one of the following commands to run the drill down sample:

    Localtabgroup
    Localtab
    activetrue
    titleLinux/Mac
    Code Block
    wso2ds-samples.sh -sn 0
    Localtab
    titleMac
    Code Block
    wso2ds-samples.bat -sn 0

     

     
    0

DS sample directory

Sample NameSample Number
Drill down dashboard0
Inter-gadget communication1