summaryrefslogtreecommitdiff
path: root/README
blob: 0c83afbd94929483753c92865d4feace4de4179d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Introduction
============

flufigut, the flumotion configuration utility, is a simple tool
that generates flumotion configuration files using pyhton jinja2 
template engine and simplejson. flufigut generates planet.xml 
and worker.xml files from configuration templates and an easy to
understand representation of the flow structure written in json.


Dependencies
============

 python-jinja2
 python-simplejson


Installation/Usage
==================

Getting the source via subversion:
----------------------------------

svn co https://svn.spreadspace.org/flufigut/trunk flufigut
cd flufigut/src

Usage
-----

Edit templates to your needs, edit data.json containing your
planet structure.

# flufigut.py <name> <data.json>

The script expects planet.xml and worker.xml to be present in
the directory ../templates/<name>/ and loads them as templates
for manager and worker configuration files.
All templates referenced by the master templates must reside
inside ../templates/<name>/.

data structure
--------------

tba...