# WDCMS download

## Click the following link to get the software and an example website:

* [wdcms-YYYwdcms_versionZZZ.tar.gz](YYYdZZZ/wdcms/wdcms-YYYwdcms_versionZZZ.tar.gz)
  ````
    tar xf wdcms-YYYwdcms_versionZZZ.tar.gz
    cd wdcms-YYYwdcms_versionZZZ
    # make sure the python modules (see wdcms.py) and pandoc are installed
    # install in $HOME/.local:
    make
    make install
    # See the file INSTALL for other install locations.
    # The directory demosite contains an example website and
    # it is only an example, not used by the wdcms software.
  ````

## If you want to give it a try, without installing wdcms

  ````
    tar xf wdcms-YYYwdcms_versionZZZ.tar.gz
    cd wdcms-YYYwdcms_versionZZZ
    # make sure the python modules (see wdcms.py) and pandoc are installed
    make
    cd demosite  # this is a version of the ratrabbit website
    # wdcms will build the website as defined in wdcms.root:
      outputdir: /tmp/demosite
    # change this if you want another location.
    ../wdcms
    # Have a look at demosite:
    firefox /tmp/demosite 
  ````

With some adaptions, the software should run in Windows and Mac OS.

The wdcms command will output something like:

   ````
      wdcmsp version 0.9.9.4
      Detected system type:      Linux
      Number of (virtual) cpu's:  4
      Creating website
      input starts in '/tmp/demosite'
      Global settings from 'wdcms.root':
         output to: '/tmp/demosite'
         parallel : 4
      Start settings from 'settings.txt':
         format   : cmark
         superfish: yes
         tidy     : yes
      Visiting: demosite
      Visiting: demosite/alracTTG
      Visiting: demosite/alracTTG/downloads
      Visiting: demosite/alracTTG/run_alracTTG
      Visiting: demosite/contact
      Visiting: demosite/findent
      Visiting: demosite/findent/changelog
      Visiting: demosite/findent/donate
      Visiting: demosite/findent/downloads
      ......
      Generated:
         index.html   : 91
      Copied:
         folders      : 91
         *.css        : 17
         *.js         : 4
         copy         : 2
      Used:
         content.txt  : 91
         trans.txt    : 91
         settings.txt : 2
         menu.txt     : 1
         head.html    : 2
   ````


Have a look at the website by typing (depending of the contents of wdcms.root):

      firefox /tmp/website/index.html

You can call wdcms
from every directory in the demosite tree: the program will figure out where the root is.
