Rough Installation instructions =============================== First install and start the Daisy server as described in ../../README.txt 1. Start merlin as described in ../../README.txt (hint: this in itself requires that openjms and mysql are running) 2. Go to the daisy/install subdir and execute: daisy-wiki-init-dev (linux: sh daisy-wiki-init-dev if not executable) NOTE THE -dev ON THE END OF THE NAME OF THE SCRIPT! First you will be asked for a user, enter "testuser", password "testuser". Next you're asked for the address of the repository server, just press enter. The install program now does its work and finished. 3. Still in daisy/install, execute: daisy-wiki-add-site-dev Use again testuser/testuser to login, and enter when asked for the address of the repository server. Then you're asked for the name of the site to create. Choose something, for example "testsite". When asked for the "sites directory location", the proposed default should be ok, so just press enter. 4. Check out a snapshot of Cocoon 2.2 from SVN. This can be done with the following command: svn co -r 53803 http://svn.apache.org/repos/asf/cocoon/trunk cocoon The -r parameter specifies a revision, the one mentioned here is known-to-be-good one. 3. Go to daisy/applications/daisywiki/xmlschema-bindings subdir and execute: maven jar:install 4. Go to the daisy/applications/daisywiki/frontend subdir Edit/create the file build.properties and specify a property called cocoon.dist.home pointing to your Cocoon source tree. When using windows, you have to specify this path using double backslashes (e.g. c:\\applications\\mycocoon2.1) or otherwise the build will fail. Then execute: maven cocoon.get This will build a Cocoon. Can take a while. Once this is done, execute: maven This will build Java code and deploy/build the webapp. To run it, execute: maven cocoon.run You can view the app by surfing to: http://localhost:8888/daisy/ (hint: you still need to have merlin, and thus also openjms and mysql running) To view your created site, go to: http://localhost:8888/daisy/testsite/ By default, you're guest user, so you won't be able to edit or create anything unless you change the login. You can login with testuser/testuser. After doing this for the first time, you can start Cocoon by directly executing the script target/cocoon/runc2.sh, which will avoid the maven overhead.