Hmm i guess a mention of the required platform (php, extentions) plus updated readme with full recent instructions might be in order indeed :)

On May 20, 2008, at 8:24 PM, Kevin Brown wrote:

I noticed that there's nothing on the website about doing php development. Could you add this? Perhaps we could just modify the "building shindig" page (for lack of a better place) and have separate sections for java and php.

The only things that probably need to be put there are prerequisites
(version + extensions) and configuration.

On Tue, May 20, 2008 at 6:37 AM, Chris Chabot <[EMAIL PROTECTED]> wrote:

That is correct.

The PHP server and the Java server are two versions of the -same- thing, depending on your own environment and preferences you can pick the one that
suits you the best.

      -- Chris


On May 20, 2008, at 3:30 PM, Erel Segal wrote:

P.S Just to make sure I understand: If I use the PHP server, I don't need
to
build the Java server, so I don't even need to install Maven. Is this
true?

2008/5/20, Chris Chabot <[EMAIL PROTECTED]>:


Hi Erel,

The easiest way to get up and running (the README is slightly out of data
/
missing details, should update it):

(assuming /var/www/html is where your document root's live)

# cd /var/www/html
# mkdir shindig
# cd shindig
# svn co http://svn.apache.org/repos/asf/incubator/shindig/trunk/ .

Point your apache to the php dir with a virtual host like:

<VirtualHost your_ip:your_port>
    ServerName your_host
    DocumentRoot /var/www/html/shindig/php
    ... other normal settings in vhosts...
</VirtualHost>

Restart apache, and point your browser to http://
<yourhost>/gadgets/ifr?url=
http://www.labpixies.com/campaigns/todo/todo.xml

If you have all the requirements (php 5.2.x with the json, mcrypt and
curl
extentions enabled) you should see something like:


http://shindig.chabotc.com/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml

Note: shindig php requires the <trunk>/javascript ,/config and / features directories.. thats why you need a full checkout of shindig. If you want
to
put those somewhere else on your server, edit config.php to reflect their
new locations.

Hope it helps!

    -- Chris

On May 20, 2008, at 1:33 PM, Erel Segal wrote:

Hi,


I would like to support OpenSocial on my site, so I downloaded Shindig.
My
site is mostly in PHP so I went to the readme file titled "Installing
and
Running The PHP Shindig Gadget Server"  (
http://svn.apache.org/repos/asf/incubator/shindig/trunk/php/README) . It
says
"Copy the files to your web root" - what files exactly should I copy? I tried copying the entire directory tree under "php" but it didn't work -
it
does not contain a file named "ifr".

Another question: Is it possible to use only the Javascript files that
are
bundled with Shindig, without building Shindig?






Reply via email to