_____

WDCMS download

  • wdcms-0.9.9.4.zip The Python script. After unzipping, install with something like:
      pip install ./wdcms-0.9.9.4
    
  • wdcmsr-0.1.2.zip The rust source code. After unzipping, install with something like:
       cd wdcmsr
       cargo build --release
       install target/release/wdcmsr $HOME/.local/bin
    
  • zip file Complete website, including wdcms.py, wdcmsr.rs and logo's, but excluding downloads and the live demos of alracttg and wsnow.

Here is what the zip file contained at it's start, more or less:

  wdcms
  ├── ratrabbit/
  │   ├── alracTTG/
  │   │   ├── downloads/
  │   │   │   └── content.txt
  │   │   ├── run_alracTTG/
  │   │   │   └── content.txt
  │   │   ├── alracTTG.css
  │   │   ├── content.txt
  │   │   └── trans.txt
  │   ├── contact/
  │   │   └── content.txt
  │   ├── findent/
  │   │   ├── donate/
  │   │   │   └── content.txt
  │   │   ├── downloads/
  │   │   │   └── content.txt
  │   │   ├── in_depth/
  │   │   │   └── content.txt
  │   │   ├── man_page/
  │   │   │   └── content.txt
  │   │   ├── vim_gedit_emacs/
  │   │   │   └── content.txt
  │   │   ├── content.txt
  │   │   ├── findent.css
  │   │   └── trans.txt
  │   ├── wdcms.copy/
  │   │   └── logos/
  │   │       ├── ball2.png
  │   │       ├── drupal.png
  │   │       ├── findent.png
  │   │       ├── logo.png
  │   │       ├── software.png
  │   │       ├── wdcms.png
  │   │       └── xsnow.png
  │   ├── software/
  │   │   ├── check_website/
  │   │   :   └── content.txt
  :   :
  :   :
  │   ├── content.txt
  │   ├── head.html
  │   ├── ratrabbit.css
  │   ├── template.html
  │   ├── trans.txt
  │   └── wdcms.root
  └── src/
      ├── rust
      │   └── wdcmsr
      │       ├── Cargo.toml
      │       └── src
      │           └── main.rs
      └── wdcms
          ├── setup.py
          └── wdcms
               ├── wdcms.py
               :

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

Unpack the tar ball, change the contents of wdcms/ratrabbit/wdcms.root to point to the location you want the website to be build, e.g.:

  outputdir: /tmp/website

Change directory:

  cd wdcms/ratrabbit

and type:

  ../src/wdcms/wdcms/wdcms.py

Probably you get some errors the first time: I use "cmark" as markdown filter, so you can choose to install that as well (see also the file "settings.txt").

And maybe there are some Python modules missing. And maybe you have to tweak wdcms.py.

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

In the end, it should work. The wdcms.py command will output something like:

  wdcmsp.py version 0.9.9.4
  Detected system type:      Linux
  Number of (virtual) cpu's:  4
  Creating website
  input starts in '/tmp/x/wdcms/ratrabbit'
  Global settings from 'wdcms.root':
     output to: '/tmp/website'
     parallel : 4
  Start settings from 'settings.txt':
     format   : cmark
     superfish: yes
     tidy     : yes
  Visiting: ratrabbit
  Visiting: ratrabbit/alracTTG
  Visiting: ratrabbit/alracTTG/downloads
  Visiting: ratrabbit/alracTTG/run_alracTTG
  Visiting: ratrabbit/contact
  Visiting: ratrabbit/findent
  Visiting: ratrabbit/findent/changelog
  Visiting: ratrabbit/findent/donate
  Visiting: ratrabbit/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 ratrabbit tree: the program will figure out where the root is.