This topic provides instructions on how to download and deploy the sample application (travelocity).
Download the samples
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.
Navigate into the .
git/info/directory and list out the folders/files you want to check out using the
Navigate out of
.git/infodirectory and checkout the
v5.4.0tag to update the empty repository with the remote one.
Access the samples by navigating to the
Deploy the sample web app.
Deploy this sample web app on a web container.
- Use the Apache Tomcat server to do this. If you have not downloaded Apache Tomcat already, download it from here.
- Copy the .war file into the
webappsfolder. For example,
- Start the Tomcat server.
To check the sample application, navigate to
http://<TOMCAT_HOST>:<TOMCAT_PORT>/travelocity.com/index.jsp on your browser.
Note: It is recommended that you use a hostname that is not
localhost to avoid browser errors. Modify the
/etc/hosts entry in your machine to reflect this. Note that
localhost is used throughout thisdocumentation as an example, but you must modify this when configuring these authenticators or connectors with this sample application.