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 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.

    OSCommand FormatExample 
    Linux/MacOption 1Option 2 Linux/Mac./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 the following to identify the sample numbers that correspond to the respective DS samples.

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