Make sure that you have installed the SDK into Tomcat. You can use the Tomcat that is distributed with the SDK, or you can use your own Tomcat server.
Also make sure that Apache Shindig is installed and working correctly. Shindig is available at http://shindig.apache.org/download.html
The instructions assume that Tomcat is using port 8080.
- Shutdown the Tomcat server.
- Open the following file in a text editor: <tomcat folder>/webapps/<shindig folder>/samplecontainer/examples/commoncontainer/viewController.js.
- In viewController.js, locate the text ./gadgetCollections.json and replace it with http://localhost:8080/sbt.sample.web/snippet?format=gadgets_json
- Save the file.
- Start the Tomcat server.
Open a web browser and go to http://localhost:8080/samplecontainer/examples/commoncontainer/index.html
. The toolkit samples should appear instead of the default Shindig samples.
Parent topic: Installing the SDK