Abandon project from the old CTHN era.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
Aaron Mueller c8f3f1733d Update README.md 8 years ago
assets Bring on the old stuff with a simple script and some bootstrap css 9 years ago
scripts Move the script to here and fix the submodule 8 years ago
.gitignore Add simple script for the git commit hook 9 years ago
.gitmodules Move the script to here and fix the submodule 8 years ago
README.md Update README.md 8 years ago
index.php Fix the underscore bug #1 9 years ago
update.php Some encoding shit 9 years ago


Markdown Wiki Factory

Yes, this thing is building wikis from markdown files. Awesome, uh? The source repository is the wiki-data Repository, so if you want to make changes on the content, make the changes there and commit your stuff. After that, this repository comes in handy, which will generate static pages (and dynamich PHP clobber if you really want to) from the markdown files.

Generate the pages

Set up a cronjob and execute the script scripts/generate_pages.rb. A new folder public_html will appear magically. Don't forget to pull the changes with git submodule update before running this script.


The relevant settings for Nginx is allready in the scripts/nginx.conf file. So just copy/paste this in your config, adjust to your needs and restart the HTTP server.