Downloading a Sample¶
To be able to deploy a sample of WSO2 Identity Server, download it onto your machine first.
Follow the instructions below to download a sample from GitHub.
- Create a folder in your local machine and navigate to it using your command line.
-
Execute the following commands.
mkdir is-samples cd is-samples/ git init git remote add -f origin https://github.com/wso2/product-is.gitgit config core.sparseCheckout true -
Navigate into the .
git/info/directory and list out the folders/files you want to check out using theechocommand below.cd .git/info echo "modules/samples/" >> sparse-checkout echo "/pom.xml" >> sparse-checkout -
Navigate out of
.git/infodirectory and checkout thev5.5.0tag to update the empty repository with the remote one.cd ../.. git checkout -b v5.9.0 v5.9.0Access the samples by navigating to the
is-samples/modules/samplesdirectory. This location will be referred as<Sample_Home>.