[WebODF] Where can I get the code for the demo site?

Friedrich W. H. Kossebau friedrich at kogmbh.com
Sat Nov 23 22:26:21 CET 2013

Hi Joshua,

Am Samstag, 23. November 2013, 15:47:44 schrieb Joshua Kramer:
> Hello,
> Is the code that runs the demo site publicly available?
> http://www.webodf.org/demo/ci/webodf-0.4.2-1305-g54e8ab4/editor/localeditor.
> html
> If so, where can I get it?

Yes, it is. That localeditor is from the programs/editor/ subdirectory. There 
is a src-localeditor.html to run things straight from the source directory 
without building anything. To do that start some webserver using the toplevel 
directory of the webodf sources, e.g. the one built into python:
	cd webodf # not webodf/webodf, but the toplevel dir
	python -m SimpleHTTPServer # 

Then navigate your favourite browser (better not IE) to this url

If you want instead to run from the build results, do as explained in 
http://webodf.org/start/ , just instead of
	 make webodf.js-target
do a
	make editor-compiled.js-target

Then start some webserver using the toplevel directoy of the build dir (e.g. 
the python one) and navigate to

That will give you the same as you see at webodf.org/demo where actually just 
the result of the (latest okayish) CI test build is used.

Please remember that the editor is not yet officially released and some more 
things might change before it will be out with the upcoming 0.5 release. That 
is also the reason why there is no simple to use single js file yet created 
and no explanation yet to find :)

Friedrich W. H. Kossebau // KO GmbH

More information about the WebODF mailing list