Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

This is the instructions for running your WIAB as well as your own gadget server (Shindig). These instructions uses the Apache Tomcat version of Shindig.

Note
TitleNote

Currently gadgets does not work on Firefox 3.x

  1. Download Shindig distribution from https://shindig.apache.org/download.html - make sure do download the war file and not jars.

    Code Block
    languagebash
    wget http://www.apache.org/dist/shindig/2.5.2/shindig-server-2.5.2.war
  2. Extract the war and edit the file WEB-INF/classes/containers/default/container.js - add "wave" to "gadgets.container" property. "gadgets.container" : "default", "accel", "wave",
  3. The easiest way to run shindig is by using jetty-runner. 

     

    Code Block
    wget http://repo2.maven.org/maven2/org/mortbay/jetty/jetty-runner/8.1.9.v20130131/jetty-runner-8.1.9.v20130131.jar

     

  4. Run the Shindig application war with: 

    Code Block
    languagebash
    java -jar jetty-runner-8.1.9.v20130131.jar shindig-server-2.5.2

    Please note that you can specify either folder of extracted war or the war file itself. The gadget server will start on localhost:8080

  1. Get WIAB
    1. Edit server.config and add the following:

      Code Block
      none
      none
      gadget_server_hostname=<the server host name of shindig>
      gadget_server_port=8080
      
  1. Start WIAB