Versions Compared

Key

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

WSO2 Dashboard Server (WSO2 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:

...

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

    Command FormatExampleLinux/MacOption 1./wso2ds-samples.sh -sn <SAMPLE_NUMBER>./wso2ds-samples

    .

    sh -sn 0Option 2

    sh wso2ds-samples.sh -sn <SAMPLE_NUMBER>sh wso2ds-samples.sh -sn 0WindowsOption 1./wso2ds-samples.bat -sn <SAMPLE_NUMBER>./wso2ds-samples.bat -sn 0Option 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 the following to identify the sample numbers that correspond to the respective WSO2 DS samples.

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