Mercurial > odfcast
annotate README.rst @ 31:83bca7dc9bfe
Return error response when a template couldn't be rendered
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Thu, 16 Oct 2014 11:35:19 +0200 |
parents | f9dbc39ffedf |
children | 2f03f909d69c |
rev | line source |
---|---|
2
745a53c8b4f2
Add a draft for a README
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
1 odfcast |
745a53c8b4f2
Add a draft for a README
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
2 ======= |
745a53c8b4f2
Add a draft for a README
Björn Ricks <bjoern.ricks@intevation.de>
parents:
diff
changeset
|
3 |
25 | 4 A conversion http service based on py3o and PyPDF2 |
5 | |
6 | |
7 Installation | |
8 ------------ | |
9 | |
10 Install requirements:: | |
11 | |
12 $ pip install -r requirements.txt | |
13 | |
27
f9dbc39ffedf
Update README for unreleased version of pyuno
Björn Ricks <bjoern.ricks@intevation.de>
parents:
25
diff
changeset
|
14 Currently a unreleased version of py3o.renderers.pyuno is required to work |
f9dbc39ffedf
Update README for unreleased version of pyuno
Björn Ricks <bjoern.ricks@intevation.de>
parents:
25
diff
changeset
|
15 correctly:: |
f9dbc39ffedf
Update README for unreleased version of pyuno
Björn Ricks <bjoern.ricks@intevation.de>
parents:
25
diff
changeset
|
16 |
f9dbc39ffedf
Update README for unreleased version of pyuno
Björn Ricks <bjoern.ricks@intevation.de>
parents:
25
diff
changeset
|
17 $ hg clone https://bjoernricks@bitbucket.org/faide/py3o.renderers.pyuno pyuno |
f9dbc39ffedf
Update README for unreleased version of pyuno
Björn Ricks <bjoern.ricks@intevation.de>
parents:
25
diff
changeset
|
18 $ pip install ./pyuno |
f9dbc39ffedf
Update README for unreleased version of pyuno
Björn Ricks <bjoern.ricks@intevation.de>
parents:
25
diff
changeset
|
19 |
25 | 20 |
21 Run | |
22 --- | |
23 | |
24 Start server:: | |
25 | |
26 $ python main.py | |
27 | |
28 Open your webbrowser or user example clients:: | |
29 | |
30 $ ./castclient.py in.odt out.file -f format | |
31 | |
32 $ ./castclient.py in.odt out.file -f format --json data.json | |
33 | |
34 $ ./mergeclient.py in1.pdf in2.pdf in3.pdf -o out.pdf | |
35 | |
36 License | |
37 ------- | |
38 | |
39 MIT License |