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 deploy the run a 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 executed it copies the respective sample files into the necessary places and calls 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. 

    Example:
    As the name of the folder that contains the drill down dashboard sample is s0, the value of the <SAMPLE_NUMBER> should be 0. Therefore, based on your OS, run use one of the following commands to deploy 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