To be able to deploy a sample of Identity Server, you need to 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.
Run the following commands.
mkdir is-samples cd is-samples/ git init git remote add -f origin https://github.com/wso2/product-is.git
git config core.sparseCheckout true
Navigate into the .
git/info/
directory and list out the folders/files you want to check out using theecho
command below.cd .git cd info echo "modules/samples/" >> sparse-checkout
Navigate out of
.git/info
directory and checkout thev5.3.0
tag to update the empty repository with the remote one.cd .. cd .. git checkout -b v5.3.0-m5 v5.3.0-m5
You will find the directory downloaded onto your local folder.