<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi, Milan -<div><br></div><div>I did a local Lively Setup the following way. I made some notes, they are Mac specific and might miss some steps.</div><div>My basic idea was to have two installations: one clean from git with the code and one in the webwerkstatt wiki style for </div><div>playing around with parts and pages. </div><div><br></div><div><br></div><div><span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 16px; white-space: pre-wrap; background-color: rgb(255, 255, 255); "><span style="text-decoration: none; font-weight: bold; outline-style: none; outline-width: initial; outline-color: initial; ">How to install lively locally on my Mac:</span></span><span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 16px; white-space: pre-wrap; background-color: rgb(255, 255, 255); "><span style="text-decoration: none; outline-style: none; outline-width: initial; outline-color: initial; ">

- check out LivelyKernel from github:
</span></span><span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 16px; white-space: pre-wrap; background-color: rgb(255, 255, 255); "><span style="text-decoration: none; font-style: italic; outline-style: none; outline-width: initial; outline-color: initial; ">
cd  /Library/WebServer/
git clone <a href="https://github.com/rksm/LivelyKernel.git">https://github.com/rksm/LivelyKernel.git</a> </span></span><span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 16px; white-space: pre-wrap; background-color: rgb(255, 255, 255); "><span style="text-decoration: none; outline-style: none; outline-width: initial; outline-color: initial; ">

- copy <a href="https://github.com/rksm/LivelyKernel/blob/master/apache_config/lk_osx.conf">https://github.com/rksm/LivelyKernel/blob/master/apache_config/lk_osx.conf</a> 
into /etc/apache2/other/

- enable your local web server in the Mac system preferences

- or if you already have, restart apache:
</span></span><span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 16px; white-space: pre-wrap; background-color: rgb(255, 255, 255); "><span style="text-decoration: none; font-style: italic; outline-style: none; outline-width: initial; outline-color: initial; ">
sudo apachectl restart
</span></span><span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 16px; white-space: pre-wrap; background-color: rgb(255, 255, 255); "><span style="text-decoration: none; outline-style: none; outline-width: initial; outline-color: initial; ">
- /Library/WebServer/Documents/LivelyKernel/

This will give you a bare installaltion of Lively without history and without any Tool Parts. 

</span></span><span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 16px; white-space: pre-wrap; background-color: rgb(255, 255, 255); "><span style="text-decoration: none; font-weight: bold; outline-style: none; outline-width: initial; outline-color: initial; ">How to setup a LivelyWiki</span></span><span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 16px; white-space: pre-wrap; background-color: rgb(255, 255, 255); "><span style="text-decoration: none; outline-style: none; outline-width: initial; outline-color: initial; ">

- For Lively Wiki functionality as in WebWerkstatt we need apache to serve us an svn repository.
So we have to create one:
</span></span><span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 16px; white-space: pre-wrap; background-color: rgb(255, 255, 255); "><span style="text-decoration: none; font-style: italic; outline-style: none; outline-width: initial; outline-color: initial; ">
sudo mkdir /Library/WebServer/repositories
sudo svnadmin create  /Library/WebServer/repositories/LivelyWiki
</span></span><span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 16px; white-space: pre-wrap; background-color: rgb(255, 255, 255); "><span style="text-decoration: none; outline-style: none; outline-width: initial; outline-color: initial; ">
- Allow the webserver to read and write the repositories:

</span></span><span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 16px; white-space: pre-wrap; background-color: rgb(255, 255, 255); "><span style="text-decoration: none; font-style: italic; outline-style: none; outline-width: initial; outline-color: initial; ">sudo chown -R _www:_www </span></span><span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 16px; white-space: pre-wrap; background-color: rgb(255, 255, 255); "><span style="text-decoration: none; font-style: italic; outline-style: none; outline-width: initial; outline-color: initial; "> /Library/WebServer/repositories/LivelyWiki</span></span></div><div><span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 16px; white-space: pre-wrap; background-color: rgb(255, 255, 255); "><span style="text-decoration: none; font-style: italic; outline-style: none; outline-width: initial; outline-color: initial; "><br></span></span></div><div><font class="Apple-style-span" face="Arial, sans-serif"><span class="Apple-style-span" style="font-size: 16px; white-space: pre-wrap;">- add </span></font><span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 16px; white-space: pre-wrap; ">/etc/apache2/other/livelywiki_osx.conf:</span></div><div><font class="Apple-style-span" face="Arial, sans-serif"><span class="Apple-style-span" style="font-size: 16px; white-space: pre-wrap;"><i><br></i></span></font></div><div><font class="Apple-style-span" face="Arial, sans-serif"><span class="Apple-style-span" style="font-size: 16px; white-space: pre-wrap;"><i><IfModule !dav_module>
        LoadModule dav_module libexec/apache2/mod_dav.so
</IfModule>

<IfModule !dav_svn_module>
        LoadModule dav_svn_module libexec/apache2/mod_dav_svn.so
</IfModule>

Redirect /LivelyWiki/core/ /LivelyKernel/core/

# change this to wherever your svn repo is
<Location /LivelyWiki>
    DAV svn
    SVNPath /Library/WebServer/repositories/LivelyWiki
    SVNAutoVersioning on  
    ModMimeUsePathInfo on
    Order Deny,Allow 
    Allow from All    
    SetOutputFilter DEFLATE  
    DavDepthInfinity on  
</Location></i></span></font></div><div><span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 16px; white-space: pre-wrap; background-color: rgb(255, 255, 255); "><span style="text-decoration: none; font-style: italic; outline-style: none; outline-width: initial; outline-color: initial; "><br></span></span></div><div><span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 16px; white-space: pre-wrap; background-color: rgb(255, 255, 255); "><span style="text-decoration: none; font-style: italic; outline-style: none; outline-width: initial; outline-color: initial; ">#EOF</span></span></div><div><span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 16px; white-space: pre-wrap; background-color: rgb(255, 255, 255); "><span style="text-decoration: none; font-style: italic; outline-style: none; outline-width: initial; outline-color: initial; "><br></span></span></div><div><span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 16px; white-space: pre-wrap; background-color: rgb(255, 255, 255); "><span style="text-decoration: none; outline-style: none; outline-width: initial; outline-color: initial; ">This gives you two repositories: </span></span></div><div><span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 16px; white-space: pre-wrap; background-color: rgb(255, 255, 255); "><span style="text-decoration: none; outline-style: none; outline-width: initial; outline-color: initial; "><br></span></span></div><div><font class="Apple-style-span" face="Arial, sans-serif"><span class="Apple-style-span" style="font-size: 16px; white-space: pre-wrap;">a) <a href="http://localhost/LivelyKernel/">http://localhost/LivelyKernel/</a> -> WebDAV served plain git <br>b) http://localhost/LivelyWiki/ -> SVN DAV Lively wiki with auto commit history<br><br>if we copy a blank.xhtml from (a) into (b)i we can start working in (b) because all the .js files are loaded from  (a)<br><br></span></font><span class="Apple-style-span" style="font-family: Arial, sans-serif; font-size: 16px; white-space: pre-wrap; ">I then bootstrapped the parts using a part from WebWerkstatt:</span></div><div><font class="Apple-style-span" face="Arial, sans-serif"><span class="Apple-style-span" style="font-size: 16px; white-space: pre-wrap;"><br></span></font></div><div><span class="Apple-style-span" style="font-family: Monaco, Courier; font-size: 12px; white-space: pre-wrap; background-color: rgb(243, 243, 243); "><span style="text-decoration: none; outline-style: none; outline-width: initial; outline-color: initial; ">        </span></span><span class="Apple-style-span" style="font-family: Monaco, Courier; font-size: 12px; white-space: pre-wrap; background-color: rgb(243, 243, 243); "><span style="text-decoration: none; color: rgb(0, 0, 128); outline-style: none; outline-width: initial; outline-color: initial; ">var</span></span><span class="Apple-style-span" style="font-family: Monaco, Courier; font-size: 12px; white-space: pre-wrap; background-color: rgb(243, 243, 243); "><span style="text-decoration: none; outline-style: none; outline-width: initial; outline-color: initial; "> oldRootPath = Config.rootPath
        </span></span><span class="Apple-style-span" style="font-family: Monaco, Courier; font-size: 12px; white-space: pre-wrap; background-color: rgb(243, 243, 243); "><span style="text-decoration: none; color: rgb(0, 0, 128); outline-style: none; outline-width: initial; outline-color: initial; ">try</span></span><span class="Apple-style-span" style="font-family: Monaco, Courier; font-size: 12px; white-space: pre-wrap; background-color: rgb(243, 243, 243); "><span style="text-decoration: none; outline-style: none; outline-width: initial; outline-color: initial; "> </span></span><span class="Apple-style-span" style="font-family: Monaco, Courier; font-size: 12px; white-space: pre-wrap; background-color: rgb(243, 243, 243); "><span style="text-decoration: none; color: rgb(0, 128, 0); outline-style: none; outline-width: initial; outline-color: initial; ">{</span></span><span class="Apple-style-span" style="font-family: Monaco, Courier; font-size: 12px; white-space: pre-wrap; background-color: rgb(243, 243, 243); "><span style="text-decoration: none; outline-style: none; outline-width: initial; outline-color: initial; ">
            Config.rootPath = </span></span><span class="Apple-style-span" style="font-family: Monaco, Courier; font-size: 12px; white-space: pre-wrap; background-color: rgb(243, 243, 243); "><span style="text-decoration: none; color: rgb(0, 128, 128); outline-style: none; outline-width: initial; outline-color: initial; ">'http:</span></span><span class="Apple-style-span" style="font-family: Monaco, Courier; font-size: 12px; white-space: pre-wrap; background-color: rgb(243, 243, 243); "><span style="text-decoration: none; color: rgb(0, 128, 0); outline-style: none; outline-width: initial; outline-color: initial; ">//lively-kernel.org/repository/webwerkstatt/'</span></span><span class="Apple-style-span" style="font-family: Monaco, Courier; font-size: 12px; white-space: pre-wrap; background-color: rgb(243, 243, 243); "><span style="text-decoration: none; outline-style: none; outline-width: initial; outline-color: initial; ">
            </span></span><span class="Apple-style-span" style="font-family: Monaco, Courier; font-size: 12px; white-space: pre-wrap; background-color: rgb(243, 243, 243); "><span style="text-decoration: none; color: rgb(0, 0, 139); outline-style: none; outline-width: initial; outline-color: initial; ">this</span></span><span class="Apple-style-span" style="font-family: Monaco, Courier; font-size: 12px; white-space: pre-wrap; background-color: rgb(243, 243, 243); "><span style="text-decoration: none; outline-style: none; outline-width: initial; outline-color: initial; ">.openPartItem(</span></span><span class="Apple-style-span" style="font-family: Monaco, Courier; font-size: 12px; white-space: pre-wrap; background-color: rgb(243, 243, 243); "><span style="text-decoration: none; color: rgb(0, 128, 128); outline-style: none; outline-width: initial; outline-color: initial; ">"BootstrapParts"</span></span><span class="Apple-style-span" style="font-family: Monaco, Courier; font-size: 12px; white-space: pre-wrap; background-color: rgb(243, 243, 243); "><span style="text-decoration: none; outline-style: none; outline-width: initial; outline-color: initial; ">, </span></span><span class="Apple-style-span" style="font-family: Monaco, Courier; font-size: 12px; white-space: pre-wrap; background-color: rgb(243, 243, 243); "><span style="text-decoration: none; color: rgb(0, 128, 128); outline-style: none; outline-width: initial; outline-color: initial; ">"PartsBin/Tools"</span></span><span class="Apple-style-span" style="font-family: Monaco, Courier; font-size: 12px; white-space: pre-wrap; background-color: rgb(243, 243, 243); "><span style="text-decoration: none; outline-style: none; outline-width: initial; outline-color: initial; ">)
        </span></span><span class="Apple-style-span" style="font-family: Monaco, Courier; font-size: 12px; white-space: pre-wrap; background-color: rgb(243, 243, 243); "><span style="text-decoration: none; color: rgb(0, 128, 0); outline-style: none; outline-width: initial; outline-color: initial; ">}</span></span><span class="Apple-style-span" style="font-family: Monaco, Courier; font-size: 12px; white-space: pre-wrap; background-color: rgb(243, 243, 243); "><span style="text-decoration: none; outline-style: none; outline-width: initial; outline-color: initial; "> </span></span><span class="Apple-style-span" style="font-family: Monaco, Courier; font-size: 12px; white-space: pre-wrap; background-color: rgb(243, 243, 243); "><span style="text-decoration: none; color: rgb(0, 0, 128); outline-style: none; outline-width: initial; outline-color: initial; ">finally</span></span><span class="Apple-style-span" style="font-family: Monaco, Courier; font-size: 12px; white-space: pre-wrap; background-color: rgb(243, 243, 243); "><span style="text-decoration: none; outline-style: none; outline-width: initial; outline-color: initial; "> </span></span><span class="Apple-style-span" style="font-family: Monaco, Courier; font-size: 12px; white-space: pre-wrap; background-color: rgb(243, 243, 243); "><span style="text-decoration: none; color: rgb(0, 128, 0); outline-style: none; outline-width: initial; outline-color: initial; ">{</span></span><span class="Apple-style-span" style="font-family: Monaco, Courier; font-size: 12px; white-space: pre-wrap; background-color: rgb(243, 243, 243); "><span style="text-decoration: none; outline-style: none; outline-width: initial; outline-color: initial; ">
            Config.rootPath = oldRootPath
        </span></span><span class="Apple-style-span" style="font-family: Monaco, Courier; font-size: 12px; white-space: pre-wrap; background-color: rgb(243, 243, 243); "><span style="text-decoration: none; color: rgb(0, 128, 0); outline-style: none; outline-width: initial; outline-color: initial; ">}</span></span><font class="Apple-style-span" face="Arial, sans-serif"><br><br></font></div><div><font class="Apple-style-span" face="Arial, sans-serif">I tried to figure out a way how I can upload parts / changes made on my localhost machine to webwerkstatt using the proxy,</font></div><div><font class="Apple-style-span" face="Arial, sans-serif">but I failed because digest authentication can not be proxied with our URL rewriting approach and I will have to use node.js for this.</font></div><div><font class="Apple-style-span" face="Arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="Arial, sans-serif">Best,</font></div><div><font class="Apple-style-span" face="Arial, sans-serif">Jens </font></div><div><font class="Apple-style-span" face="Arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="Arial, sans-serif"><br></font></div><div><font class="Apple-style-span" face="Arial, sans-serif"><br></font></div><div></div><div></div><div></div><div><div><div>Am 28.02.2012 um 06:18 schrieb Milan Zimmermann:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi:<br><br>This weekend I set to install Lively Core from Github on"localhost" ,<br>using the instructions on Github, with some tinkering in addition.<br>Short summary is that the resulting install does sort of work, I can<br>drag out PartsBin, from there drag out parts etc. There are however<br>quite a few errors when using it (more below).<br><br>A brief summary of my installation steps on localhost (Opensuse 12.1<br>although that is likely not relevant):<br>--------------------------------------<br><br><span class="Apple-tab-span" style="white-space:pre">  </span>- git clone as instructed ~/LivelyKernel<br><span class="Apple-tab-span" style="white-space:pre">  </span>- npm install<br><span class="Apple-tab-span" style="white-space:pre">     </span>- make install_partsbin (at the end of this step I have an<br>combination of .git and .svn client directories) in ~/LivelyKernel)<br><span class="Apple-tab-span" style="white-space:pre">   </span>- copied ~/LivelyKernel under Apache /srv/www/htdocs<br><span class="Apple-tab-span" style="white-space:pre">      </span>- configured Apache for WebDAV to /srv/www/htdocs/LivelyKernel<br><span class="Apple-tab-span" style="white-space:pre">    </span>- pointed to <a href="http://127.0.0.1/LivelyKernel/blank.xhtml">http://127.0.0.1/LivelyKernel/blank.xhtml</a><br><span class="Apple-tab-span" style="white-space:pre">      </span>- the world shows and somewhat works, but  not as good as the online<br><a href="http://lively-kernel.org">lively-kernel.org</a> :)<br><br><br>I have some questions (realizing most are related to WebDAV/Git) and errors:<br>-------------------------------------------------------------<br><br>If anyone could help or comment that would be great - thanks<br><br><span class="Apple-tab-span" style="white-space:pre">   </span>1) From my previous installation of Lively2, I thought WebDAV<br>requires an actual SVN repository (svnadmin create repo) to work with<br>Lively2, but this time the lk.conf seem to indicate it can simply<br>contain the combination of the .git and .svn directories created<br>above.  Is that how it is supposed to be configured for webDAV /<br>Lively to work? Also, is the the combination of .git and .svn client<br>files an issue, and I wonder which parts of the ~/LivelyKernel are<br>used by Lively for saving and changes...<br><br><span class="Apple-tab-span" style="white-space:pre">    </span>2) How does webwerkstatt create the login (later used to authorize to<br>save worlds), and is there an equivalent way to set it up for the<br>localhost install?<br><br><span class="Apple-tab-span" style="white-space:pre">    </span>3) did someone reading this tried to install core to share notes<br><br>Errors:<br>-----------<br><br><span class="Apple-tab-span" style="white-space:pre">        </span>1) Error on dragging out the cloud from PartsBin (similar errors in<br>other situations):<br><br>Error when trying to update<br>AttributeConnection(PartsItem(Cloud,PartsSpace(PartsBin/Basic/)).loadedMetaInfo<br>--> <lively.morphic.Box#E5AB3... -<br>PartsBinBrowser>.setMetaInfoOfSelectedItem) with value<br>MetaInfo(PartsBin/Basic/Cloud):<br>TypeError: Object Thu Nov 03 2011 19:13:58 GMT-0400 (EDT) has no method 'format'<br>TypeError: Object Thu Nov 03 2011 19:13:58 GMT-0400 (EDT) has no method 'format'<br>    at eval at <anonymous><br>(<a href="http://127.0.0.1/LivelyKernel/core/lively/lang/Closure.js?1330401795819:98:29">http://127.0.0.1/LivelyKernel/core/lively/lang/Closure.js?1330401795819:98:29</a>)<br>    at Array.map (native)<br>    at Box.commitLogString (eval at <anonymous><br>(<a href="http://127.0.0.1/LivelyKernel/core/lively/lang/Closure.js?1330401795819:98:29">http://127.0.0.1/LivelyKernel/core/lively/lang/Closure.js?1330401795819:98:29</a>))<br>    at Box.setMetaInfoOfSelectedItem (eval at <anonymous><br>(<a href="http://127.0.0.1/LivelyKernel/core/lively/lang/Closure.js?1330401795819:98:29">http://127.0.0.1/LivelyKernel/core/lively/lang/Closure.js?1330401795819:98:29</a>))<br>    at <a href="http://127.0.0.1/LivelyKernel/core/lively/bindings/Core.js?1330401803225:178:19">http://127.0.0.1/LivelyKernel/core/lively/bindings/Core.js?1330401803225:178:19</a><br>    at AttributeConnection.update<br>(<a href="http://127.0.0.1/LivelyKernel/core/lively/bindings/Core.js?1330401803225:188:5">http://127.0.0.1/LivelyKernel/core/lively/bindings/Core.js?1330401803225:188:5</a>)<br>    at PartItem.loadedMetaInfo<br>(<a href="http://127.0.0.1/LivelyKernel/core/lively/bindings/Core.js?1330401803225:246:8">http://127.0.0.1/LivelyKernel/core/lively/bindings/Core.js?1330401803225:246:8</a>)<br>    at <a href="http://127.0.0.1/LivelyKernel/core/lively/bindings/Core.js?1330401803225:179:23">http://127.0.0.1/LivelyKernel/core/lively/bindings/Core.js?1330401803225:179:23</a><br>    at AttributeConnection.updater (eval at <anonymous><br>(<a href="http://127.0.0.1/LivelyKernel/core/lively/lang/Closure.js?1330401795819:98:29">http://127.0.0.1/LivelyKernel/core/lively/lang/Closure.js?1330401795819:98:29</a>))<br>    at AttributeConnection.update<br>(<a href="http://127.0.0.1/LivelyKernel/core/lively/bindings/Core.js?1330401803225:187:13">http://127.0.0.1/LivelyKernel/core/lively/bindings/Core.js?1330401803225:187:13</a>)<br><br><br><span class="Apple-tab-span" style="white-space:pre">     </span>2) Cannot Save at all / Error on saving blank.xhtml as blank2.xhtml:<br><br><span class="Apple-tab-span" style="white-space:pre">    </span>"directory <a href="http://127.0.0.1/LivelyKernel">http://127.0.0.1/LivelyKernel</a> does not exist! Create it?"<br><span class="Apple-tab-span" style="white-space:pre">  </span><br><span class="Apple-tab-span" style="white-space:pre">  </span>on OK:<br><br><span class="Apple-tab-span" style="white-space:pre">  </span>Problem saving <a href="http://127.0.0.1/LivelyKernel/blank2.xhtml:">http://127.0.0.1/LivelyKernel/blank2.xhtml:</a><br>#<NetRequestStatus{PUT,<a href="http://127.0.0.1/LivelyKernel/blank2.xhtml,403">http://127.0.0.1/LivelyKernel/blank2.xhtml,403</a>}><br><br>Thanks<br><br>milan<br>_______________________________________________<br>lively-kernel mailing list<br><a href="mailto:lively-kernel@hpi.uni-potsdam.de">lively-kernel@hpi.uni-potsdam.de</a><br>http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel<br></div></blockquote></div><br></div></body></html>