WDCMS download
- wdcms.py.zip The Python script
- zip file Complete website, including wdcms.py and logo's, but excluding downloads and the live demos of alracttg and wsnow.
Here is what the zip file contains, more or less:
wdcms
├── ratrabbit/
│ ├── alracTTG/
│ │ ├── downloads/
│ │ │ └── content.md
│ │ ├── run_alracTTG/
│ │ │ └── content.md
│ │ ├── alracTTG.css
│ │ ├── content.md
│ │ └── trans.txt
│ ├── contact/
│ │ └── content.md
│ ├── findent/
│ │ ├── donate/
│ │ │ └── content.md
│ │ ├── downloads/
│ │ │ └── content.md
│ │ ├── in_depth/
│ │ │ └── content.md
│ │ ├── man_page/
│ │ │ └── content.md
│ │ ├── vim_gedit_emacs/
│ │ │ └── content.md
│ │ ├── content.md
│ │ ├── 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.md
: :
: :
│ ├── content.md
│ ├── head.html
│ ├── ratrabbit.css
│ ├── template.html
│ ├── trans.txt
│ └── wdcms.root
└── src/
└── wdcms.py*
If you want to give it a try
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
Got to the directory wdcms/ratrabbit and type:
../src/wdcms.py
Probably you get some errors the first time: I use pandoc as markdown filter, so you can choose to install that as well. 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 ends with something like:
Creating website
input starts in '/home/willem/bitbucket/src/wdcms/ratrabbit'
output to '/home/willem/public_html/websites/easyhosting/httpdocs/ratrabbit'
parser : html.parser
formatter: pandoc
Generated:
index.html : 64
Copied:
folders : 64
*.css : 10
copy : 2
Used:
content.md : 64
trans.txt : 10
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 install wdcms.py in for example /usr/local/bin, or in $HOME/bin. You can call wdcms.py from every directory in the ratrabbit tree: the program will figure out where the root is.