My favorites | Sign in
Project Logo
                
Search
for
Updated Apr 14, 2009 by chabotc
Labels: featured, Phase-Deploy
GettingStarted  
Setting up Partuza

Introduction

This is the quick 'how to setup partuza' guide. It assumes you already have a working php shindig server (see http://incubator.apache.org/shindig/) and some knowledge of apache, php, mysql and general administration.

See http://www.chabotc.com/generic/setting-up-shindig-and-partuza-on-windows/ instead if you want a detailed step by step guide for setting these up on windows, and http://www.chabotc.com/guides/shindig_and_partuza_on_mac/ if your into Mac's.

You need a working apache, php (with mcrypt and json extentions) and mysql 5 to be able to use this code.

Details

1) Create a mysql database with mysqladmin, in this howto i'll use 'partuza' as the database name and dump the partuza sql file in it. # mysqladmin create partuza # mysql partuza < partuza.sql

2) Copy the files to your web root, for instance /var/www/html/partuza

3) Configure apache and point the DirectoryRoot to: /var/www/html/partuza/html

4) Edit partuza/html/config.php, and set the correct mysql database information (user/password/db name), the same token cipher and hmac key's as your shindig server is using, and the location (url) of the shindig server (gadget_server) and of your partuza installation (partuza_url).

5) Edit shindig/php/config/container.php, and change the following entries:

  'person_service' => 'PartuzaService',
  'activity_service' => 'PartuzaService',
  'app_data_service' => 'PartuzaService',
  'messages_service' => 'PartuzaService',
  'oauth_lookup_service' => 'PartuzaOAuthLookupService',
  'extension_class_paths' => '/path/to/partuza/Shindig'

6) Restart apache and point your browser to the site, congratulations it should now be up and running!

Notes

web_prefix if you set the web_prefix to anything else then '/', please remember to also update the references in the html/js/container.js and html/css/container.css files. Since these are static files they need to be updated by hand.


Comment by loic-goo...@dachary.org, Jun 28 (5 days ago)

In :

'extension_class_paths' => '/path/to/partuza/Shindig'

it is unclear what /path/to/partuza stands for.

Comment by loic-goo...@dachary.org, Jun 28 (5 days ago)

It should be noted that ...partuza/html/images/people must be a writeable directory or the account creation will fail with :

Permission denied on generating thumbnail symlink (, /usr/src/partuza/html/images/people/nophoto.129x225.gif)

Sign in to add a comment
Hosted by Google Code