Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverted from v. 13

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 sample in WSO2 DS sample:

Note

Before carrying out the following steps, install the required prerequisites.

  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 executedruns, it copies the respective sample files into the necessary directories and executes the wso2server.sh/wso2server.bat script based on the your OS being used.

    OSScriptCommand FormatFormatExample
    Linux/MacOption 1./wso2ds-samples.sh -sn <SAMPLE_NUMBER>./wso2ds-samples.sh -sn 0
    Option 2sh wso2ds-samples.sh -sn <SAMPLE_NUMBER>sh wso2ds-samples.sh -sn 0
    WindowsOption 1./wso2ds-samples.bat -sn <SAMPLE_NUMBER>./wso2ds-samples.bat -sn 0
    Option 2sh 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 DS sample directory the following 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
    titleWindows
    Code Block
    wso2ds-samples.bat -sn 0

...

  1. Sample NameSample Number
    Drill down dashboard0
    Inter-gadget communication support1
    webSocket support2