= INSTALLATION 

== DEVELOPERS

You will need Firefox 4.0+. To install the extension in "dev mode" create 
a file called 'cfbuilder@indexdata.com' in the 'extensions' dir under 
you firefox profile, e.g on Linux:

/home/you/.mozilla/firefox/94erw97p.default/extensions/

or on a Mac:

/Users/<you>/Library/Application Support/Firefox/Profiles/bspyvnmb.cf/extensions

The contents of the file should be just the path to the builder directory
(that is .../cf/builder):

pwd > cfbuilder@indexdata.com

or on MacOS run: 
create a FF profile "cf-devel" (if you haven't already), but only one!
make builder-devel-macos


Then in the builder dir run:

make clean all

this will generate install.rdf and default prefs (in defaults/preferences), you
need to do it only once.

It may be a good idea to use a different profile for CF work. Start your
firefox with the -P option to create a new profile, call it 'cf', and from there
on, start FF with "-P cf" to use that profile. This creates a new profile dir 
(without the .default) and under that the extensions dir in which you create 
this link.

== USERS

=== install as FF extension
Type 'make dist' and point Firefox to the genereated .xpi file. Firefox 
will perform the installation.

=== install as XULRunner app
Type 'make install' to install using xulrunner (whatever that means) 
or 'make run' to run from the build dir.

= CONFIGURATION

Builder uses the mozilla preferences system so all prefs can be changed 
from FF using 'about:config'. The pref branch (prefix) is 'indexdata.cf'. 
Defaults are located at defaults/preferences/defaults.js.
