Dobrica Pavlinušić's random unstructured stuff
SynchroEdit: Revision 10
This page will describe my journey while installing "SyncroEdit"<http://www.synchroedit.com> for "DORS/CLUC 2007"<http://www.open.hr/dc2007/> conference.
{toc: } I have been tracking development of this tool for quite a while, and since we wanted to add some social interaction at conference, SyncroEdit seemed like a right tool for a job. ^ SVN checkout .pre svn co http://svn.synchroedit.com/root/trunk syncroedit cd syncroedit .pre ^ Building and installing Debian packages ^^ server First, apply patch to fix `init.d` script: {file: syncroedit-init.d-fix.diff} .pre cd server/ sudo ./debian/rules binary cd .. sudo dpkg -i synchroedit-server_0.5-1_all.deb .pre ^^ client .pre cd client/ sudo ./debian/rules binary cd .. sudo dpkg -i synchroedit-client_0.5-1_all.deb .pre Now, deploy the client: .pre cd /data mkdir synchroedit-client synchroedit-deploy synchroedit-client .pre Examine created `/data/synchroedit-client/config.cgi` file (I had to manually edit SESERVICE, YMMV) ^^ Apache Add Apache configuration for new virtual host http://se.m.rot13.org .pre <VirtualHost 193.198.212.4> ServerName se.m.rot13.org DocumentRoot /data/synchroedit-client DirectoryIndex index.cgi index.html client.html <Directory "/data/synchroedit-client/"> Options FollowSymLinks ExecCGI Order allow,deny Allow from all </Directory> CustomLog /var/log/apache/access-se.m.rot13.org.log full </VirtualHost> .pre ^^ test Test to see if everything is working... .pre $ GET http://se.m.rot13.org/handshake.cgi HAVE SID1 2048 GDAY:ACLR: .pre ^ Setup ESPI This is a tricky part. I didn't want to depend on php for this installation so I decided to write simple "ESPI"<http://wiki.synchroedit.com/index.php/ExternalServicePOSTInterface> in perl. ^^ install perl ESPI .pre cd /data/synchroedit-client/ svn co svn://svn.rot13.org/synchroedit/ .pre ^^ configure server Edit `/etc/synchroedit/synchroedit.rc` and change following options: .pre ESPI=http://se.m.rot13.org/synchroedit/espi.cgi ESPIHooks=authenticate-user sessionAuthentication=1 .pre Restart server to re-read configuration file .pre sudo /etc/init.d/synchroedit-server restart .pre ^ Changes in my tools This is subversion commit log of my tools for SynchroEdit {fetchrss: http://svn.rot13.org/index.cgi/synchroedit/rss full} |