Mercurial > odfcast
annotate README.rst @ 38:2f03f909d69c
Update README
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Thu, 16 Oct 2014 12:08:25 +0200 |
parents | f9dbc39ffedf |
children | 49bcd77a94d7 |
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 |
38 | 4 A conversion http service based on Open-/LibreOffice, py3o and PyPDF2 |
25 | 5 |
6 | |
7 Installation | |
8 ------------ | |
9 | |
38 | 10 To be able to convert odf documents an installed version of OpenOffice or |
11 LibreOffice is required for odfcast. Please take a look at the corresponding | |
12 website of Open-/LibreOffice how to install them on your system. | |
13 | |
25 | 14 Install requirements:: |
15 | |
16 $ pip install -r requirements.txt | |
17 | |
38 | 18 Currently an unreleased version of py3o.renderers.pyuno is required to work |
27
f9dbc39ffedf
Update README for unreleased version of pyuno
Björn Ricks <bjoern.ricks@intevation.de>
parents:
25
diff
changeset
|
19 correctly:: |
f9dbc39ffedf
Update README for unreleased version of pyuno
Björn Ricks <bjoern.ricks@intevation.de>
parents:
25
diff
changeset
|
20 |
f9dbc39ffedf
Update README for unreleased version of pyuno
Björn Ricks <bjoern.ricks@intevation.de>
parents:
25
diff
changeset
|
21 $ 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
|
22 $ pip install ./pyuno |
f9dbc39ffedf
Update README for unreleased version of pyuno
Björn Ricks <bjoern.ricks@intevation.de>
parents:
25
diff
changeset
|
23 |
25 | 24 |
25 Run | |
26 --- | |
27 | |
28 Start server:: | |
29 | |
30 $ python main.py | |
31 | |
32 Open your webbrowser or user example clients:: | |
33 | |
34 $ ./castclient.py in.odt out.file -f format | |
35 | |
36 $ ./castclient.py in.odt out.file -f format --json data.json | |
37 | |
38 $ ./mergeclient.py in1.pdf in2.pdf in3.pdf -o out.pdf | |
39 | |
40 License | |
41 ------- | |
42 | |
43 MIT License |