Before installaing Shindig, you need to activate some PHP extension in your web server.
The required extentions are:
You will also need the Apache "rewrite_module" extension
Shindig:
Shindig is already included in POSH sources (/tools/shindig). To make it work you have to configure it.
Open the file /tools/shindig/config/local.php and edit the two line "extension_class_paths" and "plugin_base_paths" like that:
Posh:
Edit the file /tools/opensocial/config.php and modify the value of the following parameter:Additionnal configuration:
To ensure securized exchanges between Shindig and Posh, you can define your own tokensFirst locate your apache configuration file (which is called
httpd.conf).
We want to configure 'virtual hosts' on our instalation since we need a
shindig server on one 'domain'.
This is required for the cross domain
security model of your browser to work, which is the basis of the
security model of open social gadgets.
Open the file, scroll to the end and locate the section that reads #Include conf/extra/httpd-vhosts.conf, and remove the # before the Include as such:
Then open the file extra/httpd-vhosts.conf
Edit this file, remove the 2 example vhost configurations (they don't work) and add the following 2 entries (for the localhost and shindig virtual hosts)
For the shindig virtual host document root, specify the path like [your_path_to_posh]/tools/shindig (cf screen capture)
Next we need to edit the host file
On windows you can find it here: c:\WINDOWS\system32\drivers\etc\hosts
On linux it's usually locate in /etc/hosts
Add 'shindig' (without quotes) to the following line:
After this is done, restart your web server.
Point your browser to http://shindig/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml
And you should see the todo gadget being rendered; This means shindig is now fully up and running on you computer