This section guides you through installing Shindig on a local Apache server on Windows, allowing you to run OpenSocial gadgets from http://shindig/gadgets/ifr?url=gadget_url.
This installation guide requires that you have the following server and program environments installed on your machine:
Apache HTTP Server (see the section “Installing Apache HTTP Server” in the Appendix [available online; see Preface for details] for installation instructions)
PHP 5.2.x (see the section “Setting Up Your PHP Environment” in the Appendix for installation instructions)
These installation instructions assume that Apache and PHP are installed to the following installation directories:
Apache: C:\Program Files\Apache Software Foundation\Apache\
If your installation paths are different, swap all paths to files in these directories with your own paths when proceeding through the following steps.
To begin the Shindig installation, we first need to obtain the source code for the project from the Shindig trunk. Go into your localhost htdocs directory (by default, Apache sets this to a path such as C:\Program Files\Apache Software Foundation\Apache\htdocs), create a directory for Shindig, and check out the code using Subversion. Open up a command shell and type in the following:
mkdir C:\Program Files\Apache Software Foundation\Apache\htdocs\shindig cd C:\Program Files\Apache Software Foundation\Apache\htdocs\shindig svn co http://svn.apache.org/repos/asf/shindig/trunk/ ...