Author: reto
Date: Sat Jan  1 15:43:58 2011
New Revision: 1054246

URL: http://svn.apache.org/viewvc?rev=1054246&view=rev
Log:
Some readme adaptation also to adapt to the change by CLEREZZA-370

Modified:
    incubator/clerezza/site/trunk/readme.txt

Modified: incubator/clerezza/site/trunk/readme.txt
URL: 
http://svn.apache.org/viewvc/incubator/clerezza/site/trunk/readme.txt?rev=1054246&r1=1054245&r2=1054246&view=diff
==============================================================================
--- incubator/clerezza/site/trunk/readme.txt (original)
+++ incubator/clerezza/site/trunk/readme.txt Sat Jan  1 15:43:58 2011
@@ -1,18 +1,30 @@
 - start clerezza on localhost:8080
-- install offline-generation bundle with: start 
mvn:org.apache.clerezza/org.apache.clerezza.tools.offline
-- install stable serialization bundle with: start 
mvn:org.apache.clerezza/org.apache.clerezza.rdf.stable.serializer
-- go to http://localhost:8080/graph/upload-form, replace 
http://tpf.localhost/content.graph with graph.nt
-- change the site as needed, do not create püages ending with /, create a 
page ending with /index instead, the entry page is http://localhost:8080/index 
(you may use http://localhost:8080/tools/editor to edit it)
+- install offline-generation bundle with: 
start("mvn:org.apache.clerezza/org.apache.clerezza.tools.offline")
+- install stable serialization bundle 
with:start("mvn:org.apache.clerezza/org.apache.clerezza.rdf.stable.serializer") 
+- go to http://localhost:8080/graph/upload-form, replace 
http://tpf.localhost/content.graph with graph.nt (note: you may need to make 
sure your operating system or browser associated the file-extensison .nt to 
text/rdf+nt)
+- change the site as needed, do not create pages ending with /, create a page 
ending with /index instead, the entry page is http://localhost:8080/index (you 
may use http://localhost:8080/tools/editor to edit it)
 - retrieve a zipped offline version from 
http://localhost:8080/admin/offline/download?baseUri=http://localhost:8080/&targetUri=http://incubator.apache.org/clerezza/&formatExtension=xhtml&formatExtension=rdf&formatExtension=png&formatExtension=html&formatExtension=js&formatExtension=jpeg&rootLinkPrefix=/clerezza
 - scp site<id>.zip  people.apache.org:/www/incubator.apache.org/clerezza
 - on people.apache.org: unzip -o site<id>.zip
-- get the content, e.g. with: curl -H "Accept: text/rdf+nt" 
http://localhost:8080/graph?name=http://tpf.localhost/content.graph > graph.nt
+- get the content, e.g. with: curl -u admin:admin -H "Accept: text/rdf+nt" 
http://localhost:8080/graph?name=http://tpf.localhost/content.graph > graph.nt
 - replace the file graph.nt in site/trunk of the subversion repository
 
 
 NOTES:
 - as the documentation at /documentation is not a resource in rdf it wasn't
 contained in the oflline site, so I added a resource with that URI
+- to have the content of index-resources displayed on localhost you need to 
create the respective collection, otherwise the resource can only be accessed 
with the URI ending with "/index". This can be done on the clerzza shell as 
follows:
+
+
+import rdf.core._
+import rdf.core.impl._
+import rdf.ontologies._
+import platform.graphprovider.content.ContentGraphProvider
+val cgp = $[ContentGraphProvider]
+val cg = cgp.getContentGraph
+cg.add(new TripleImpl(new UriRef("http://localhost:8080/getting-started/";), 
RDF.`type`, HIERARCHY.Collection))
+
+
 - I also added the web-gui examples using 
 
 
r...@reto-laptop:~/projects/apache/clerezza/trunk/org.apache.clerezza.parent/org.apache.clerezza.app.webguiexamples/src/main/resources/org/apache/clerezza/app/webguiexamples$
 scp -r staticweb/    
people.apache.org:/www/incubator.apache.org/clerezza/web-gui-examples


Reply via email to