metanohi content manager and generator
Project description
mege is a combined content manager and content generator made specifically for the website “metanohi” (available at http://metanohi.name/ ). Because of lazyness, currently mege is tightly integrated with this website, though it should be possible to adapt it to work with other sites.
mege is in constant on-and-off development — special features are only added as they are needed — and there will not be any release out for a long time, if ever.
mege is both a command line tool and a Python module. It requires Python 3.1+.
mege uses bottle as its web framework, serves HTML generated from Org-Mode files, and uses Git for revisions. It uses modwsgi and the Apache web server.
License
mege is free software under the terms of the GNU Affero General Public License version 3 (or any later version, see file COPYING.txt or webpage http://gnu.org/licenses/agpl.html for full license). The author of mege is Niels G. W. Serup, contactable at ns@metanohi.name.
Installation
There is no actual release. To get mege, clone mege’s git repository. The addres is available at http://metanohi.name/projects/mege/
To install mege, run:
python3 setup.py install
You must be a superuser to do this.
Dependencies
bottle: http://bottlepy.org/
Pygments: http://pygments.org/
WSGI Apache interface for Python 3: http://code.google.com/p/modwsgi/
Use
As a command-line tool
When you have installed mege, run:
mege COMMAND [OPTION]... [INPUT FILE]...
To see how to interact with mege in general, run:
mege --help
As a Python module
When mege has been installed, it can be used just like any other Python module. To see which functions and classes are available and usable, run:
pydoc3 mege
And also:
pydoc3 mege.server pydoc3 mege.htmlgen pydoc3 mege.macrolang pydoc3 mege.htmlfunc pydoc3 mege.git
And so on.
This document
Copyright (C) 2011, 2012 Niels G. W. Serup
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.