Clarify non-requirement of Debian.
[mkws-moved-to-github.git] / README
1 OVERVIEW
2 ========
3
4 The MasterKey Widget Set, or MKWS, provides HTML/JS/CSS widgets that
5 can be dropped into ANY website, irrespective of CMS or lack thereof,
6 to enable MasterKey searching. See the contents of the "doc" directory
7 for further documentation.
8
9
10 WHAT'S WHAT
11 ===========
12
13 README   -- this file
14 LICENSE  -- The GNU LGPL (Lesser General Public Licence)
15 Makefile -- delegates to tools/htdocs/Makefile
16 src      -- source-code that is compiled into the tools area
17 tools    -- the tools that make up the Widget Set
18 examples -- examples of applications that use MKWS
19 doc      -- documentation (in Markdown, compiles to HTML)
20 test     -- regression-testing scripts
21 notes    -- internal documents, not for customers
22
23
24 Required devel tools
25 ====================
26
27 If you are building the widget set, as opposed to just using it, you
28 will need the following Debian packages (or their equivalents on your
29 operating system):
30
31 $ sudo apt-get install curl git-core pandoc yui-compressor node-js libbsd-resource-perl
32
33 On Debian 7 (wheezy), you do not need git-core, plain git will do, but
34 you probably have that on a development box already. Unfortunately, node-js
35 is not available for wheezy. Either you can get it from wheezy-backports,
36 or you can download the source from http://nodejs.org/download/ and build
37 it yourself. You need node and npm, its package manager: make install
38 puts them into /usr/local/bin.
39
40 To compile the default templates you'll need to install the stable version
41 of Handlebars. Currently it's at 2.0.0 and available by npm:
42
43   npm install handlebars@2.0.0 -g
44
45 For apache setup, see tools/apache2/README
46
47
48 NEWS
49 ====
50
51 see tools/htdocs/NEWS
52
53