<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0"
 xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
>

<channel>
<title><![CDATA[Dobrica Pavlinušić's random unstructured stuff: SynchroEdit]]></title>
<link>https://saturn.ffzg.hr/rot13/index.cgi?synchroedit</link>
<description></description>
<pubDate>Mon, 16 Apr 2007 11:59:25 -0000</pubDate>
<webMaster>root@saturn.ffzg.hr</webMaster>
<generator>Socialtext Workspace v2.19.0.2</generator>

<item>
<title><![CDATA[SynchroEdit]]></title>
<link>https://saturn.ffzg.hr/rot13/index.cgi?synchroedit</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div>Tags: howto</div><hr/><div class="wiki">
<p>
This page will describe my journey while installing <a target="_blank" title="(external link)" href="http://www.synchroedit.com">SyncroEdit<!-- wiki-renamed-hyperlink "SyncroEdit"<http://www.synchroedit.com> --></a> for <a target="_blank" title="(external link)" href="http://www.open.hr/dc2007/">DORS/CLUC 2007<!-- wiki-renamed-hyperlink "DORS/CLUC 2007"<http://www.open.hr/dc2007/> --></a> conference.</p>
<div class="nlw_phrase"><table class="wafl_container">
  <tr>
    <td>
      <div class="wafl_box">
        
          <div class="wafl_titlebox">
            <div class="wafl_title">
              
                Contents: [Dobrica Pavlinušić's random unstructured stuff]
              
            </div>
          </div>
          <div class="wafl_items">
            
              <div class="wiki">
<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#svn_checkout">Dobrica Pavlinušić's random unstructured stuff (SVN checkout)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] SVN checkout} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#building_and_installing_debian_packages">Dobrica Pavlinušić's random unstructured stuff (Building and installing Debian packages)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Building and installing Debian packages} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#server">Dobrica Pavlinušić's random unstructured stuff (server)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] server} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#client">Dobrica Pavlinušić's random unstructured stuff (client)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] client} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#apache">Dobrica Pavlinušić's random unstructured stuff (Apache)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Apache} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#test">Dobrica Pavlinušić's random unstructured stuff (test)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] test} --></span></li>
</ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#setup_espi">Dobrica Pavlinušić's random unstructured stuff (Setup ESPI)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Setup ESPI} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#install_perl_espi">Dobrica Pavlinušić's random unstructured stuff (install perl ESPI)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] install perl ESPI} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#configure_server">Dobrica Pavlinušić's random unstructured stuff (configure server)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] configure server} --></span></li>
</ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#changes_in_my_tools">Dobrica Pavlinušić's random unstructured stuff (Changes in my tools)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] Changes in my tools} --></span></li>
</ul>
</div>

            
            
          </div>
        
      </div>
    </td>
  </tr>
</table>
<!-- wiki: {toc: }
--></div><br /><br /><p>
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.</p>
<h1 id="svn_checkout">SVN checkout</h1>
<pre>
svn co http://svn.synchroedit.com/root/trunk syncroedit
cd syncroedit
</pre>
<br /><h1 id="building_and_installing_debian_packages">Building and installing Debian packages</h1>
<h2 id="server">server</h2>
<p>
First, apply patch to fix <tt>init.d</tt> script: <span class="nlw_phrase"><a href="https://saturn.ffzg.hr/rot13/index.cgi/syncroedit-init.d-fix.diff?action=attachments_download;page_name=synchroedit;id=20070415213920-0-11933">syncroedit-init.d-fix.diff</a><!-- wiki: {file: syncroedit-=init.d-=fix.diff} --></span></p>
<pre>
cd server/
sudo ./debian/rules binary
cd ..
sudo dpkg -i synchroedit-server_0.5-1_all.deb 
</pre>
<br /><h2 id="client">client</h2>
<pre>
cd client/
sudo ./debian/rules binary
cd ..
sudo dpkg -i synchroedit-client_0.5-1_all.deb 
</pre>
<br /><p>
Now, deploy the client:</p>
<pre>
cd /data
mkdir synchroedit-client
synchroedit-deploy synchroedit-client
</pre>
<br /><p>
Examine created <tt>/data/synchroedit-client/config.cgi</tt> file (I had to manually edit SESERVICE, YMMV)</p>
<h2 id="apache">Apache</h2>
<p>
Add Apache configuration for new virtual host <a target="_blank" title="(external link)" href="http://se.m.rot13.org">http://se.m.rot13.org</a></p>
<pre>
&lt;VirtualHost 193.198.212.4&gt;
        ServerName se.m.rot13.org
        DocumentRoot /data/synchroedit-client
        DirectoryIndex index.cgi index.html client.html
        &lt;Directory &quot;/data/synchroedit-client/&quot;&gt;
                Options FollowSymLinks ExecCGI
                Order allow,deny
                Allow from all
        &lt;/Directory&gt;
        CustomLog /var/log/apache/access-se.m.rot13.org.log full
&lt;/VirtualHost&gt;
</pre>
<br /><h2 id="test">test</h2>
<p>
Test to see if everything is working...</p>
<pre>
$ GET http://se.m.rot13.org/handshake.cgi
HAVE SID1 2048 GDAY:ACLR:
</pre>
<br /><h1 id="setup_espi">Setup ESPI</h1>
<p>
This is a tricky part. I didn't want to depend on php for this installation so I decided to write simple <a target="_blank" title="(external link)" href="http://wiki.synchroedit.com/index.php/ExternalServicePOSTInterface">ESPI<!-- wiki-renamed-hyperlink "ESPI"<http://wiki.synchroedit.com/index.php/ExternalServicePOSTInterface> --></a> in perl.</p>
<h2 id="install_perl_espi">install perl ESPI</h2>
<pre>
cd /data/synchroedit-client/
svn co svn://svn.rot13.org/synchroedit/
</pre>
<br /><h2 id="configure_server">configure server</h2>
<p>
Edit <tt>/etc/synchroedit/synchroedit.rc</tt> and change following options:</p>
<pre>
ESPI=http://se.m.rot13.org/synchroedit/espi.cgi
ESPIHooks=authenticate-user
sessionAuthentication=1
</pre>
<br /><p>
Restart server to re-read configuration file</p>
<pre>
sudo /etc/init.d/synchroedit-server restart
</pre>
<br /><h1 id="changes_in_my_tools">Changes in my tools</h1>
<p>
This is subversion commit log of my tools for SynchroEdit</p>
<div class="nlw_phrase"><div class="fetchrss_box">
  <div class="fetchrss_titlebox">
    
 <div class="fetchrss_title">
     fetchrss: http://svn.rot13.org/index.cgi/synchroedit/rss
 </div>

  </div>
  
<ul class="fetchrss_item">
  <li class="fetchrss_item">
    There was an error: 404 Not Found

  </li>
</ul>

</div>
















<!-- wiki: {fetchrss: http://svn.rot13.org/index.cgi/synchroedit/rss full}
--></div><br /></div>
<hr/><div>Attachments: syncroedit-init.d-fix.diff</div>]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category>howto</category>
<guid isPermaLink="true">https://saturn.ffzg.hr/rot13/index.cgi?synchroedit</guid>
<pubDate>Mon, 16 Apr 2007 11:59:25 -0000</pubDate>
</item>
</channel>
</rss>