Installing Friki is quite straightforward if you are familiar with Java Servlets. If not, please have a play with your Servlet engine until you are happy with setting up at least initialisation parameters, and optionally servlet aliases.
The simplest start up is to unjar the friki classes from frikiclasses.jar into a directory in your CLASSPATH or monitored by your servlet runner. Then set up the initialisation parameters and an alias if you want to use one, copy the supplied database file and page templates into your specified directory, put the logo in the /icons directory of your webserver and away you go.
If you have access to the servlet server configuration you may wish to leave the classes in the frikiclasses.jar file and tell the servlet server to use it. If you don't have access to the /icons directory (or there isn't one), you will need to put the logo in some other web-accessible directory and edit the page templates to refer to the new place.
Friki accepts three initialisation parameters: dir, servlet and startpage. The most important is dir which should contain the local path to the directory where your Friki database file (friki.prp) and your page templates (get.html, edit.html, confirm.html, match.html) live. The other two are optional, defaulting to the values shown in the example below. Note that the servlet parameter must match the alias or class name which you use to invoke Friki. It's used to generate URLs for the likes of the edit button.
To configure Apache JServ for friki, for example, add something like the following lines to your zone properties file:
servlet.friki.code=com.efsol.friki.FrikiServlet servlet.friki.initArgs=dir=/wherever/you/want,startpage=Welcome,servlet=friki
The simplest way to Customize Friki is to edit the pages it contains! If you want more than that, you can do several other things too:
The supplied jar file contains the complete source for Friki, as well as some unit tests written using JUnit. If you don't have JUnit, you can safely ignore or delete all the files in com.efsol.friki.tests. Other than that, just compile all the files to somewhere useful, and jar up the class files if you prefer.
Please let me (frank@efsol.com) know how you get on, any problems you encounter, any interesting things you do with Friki, and any changes you make. I hope it's useful, or at least intersting.