This documentation is for WSO2 Identity Server 5.6.0. View documentation for the latest release.
Page Comparison - Downloading a Sample (v.3 vs v.4) - WSO2 Identity Server 5.6.0 - WSO2 Documentation

All docs This doc

Versions Compared

Key

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

...

  1. Create a folder in your local machine and navigate to it using your command line.
  2. Run the following commands.

    Code Block
    languagebash
    mkdir is-samples
    cd is-samples/
    git init
    git remote add -f origin https://github.com/wso2/product-is.git
    Code Block
    languagebash
    git config core.sparseCheckout true
  3. Navigate into the .git/info/ directory and list out the folders/files you want to check out using the echo command below.  

    Code Block
    languagebash
    cd .git/info
    echo "modules/samples/" >> sparse-checkout
  4. Navigate out of .git/info directory and checkout the v5.56.0 tag to update the empty repository with the remote one. 

    Code Block
    languagebash
    cd ../..
    git checkout -b v5.6.0 v5.6.0

    Access the samples by navigating to the is-samples/modules/samples directory.