Skip to main content
Moustache
=========

Moustache est un module de fusion documentaire ODT.

Installation
------------

Docker
~~~~~~

``docker run -p 5000:5000 gitlab.libriciel.fr:4567/outils/moustache:master``

 Ubuntu
~~~~~~~

Sur une distribution Ubuntu 16.04 LTS, voici la procédure à suivre :

.. code:: bash

apt update -y
apt install -y libreoffice libreoffice-script-provider-python curl libmagickwand-dev

curl https://bootstrap.pypa.io/get-pip.py | python3

pip3 install moustache

Lancement
---------

Avant tout lancement de Moustache, il faut lancer libreoffice en mode
headless, sur le port 2002 :

.. code:: bash

soffice --headless --invisible --nologo --nodefault --nocrashreport --nolockcheck --norestore --nofirststartwizard --accept="socket,host=0,port=2002;urp;" &

Puis il suffira de lancer la commande :

.. code:: bash

moustache

Moustache sera ensuite accessible sur le port 5000.

Utilisation de l'API
--------------------

Fichier de configuration JSON
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Ce fichier contient les élements à remplacer dans le template et les
élements permettant le contrôle de la transformation.

Les élements de contrôle commencent par **. L'utilisation de ** est
reservé à moustache.

- \_\_output\_format: odt (défaut ou valeur non reconnu) ou pdf

TODO documenter les appels d'API (curl)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Moustache.beta-0.0.1.post17157.tar.gz (14.3 kB view details)

Uploaded Source

File details

Details for the file Moustache.beta-0.0.1.post17157.tar.gz.

File metadata

File hashes

Hashes for Moustache.beta-0.0.1.post17157.tar.gz
Algorithm Hash digest
SHA256 1d8e44a1c97d9492ae7f9a606e4de8b059ebdfb35808fca214956e9f6fb32f08
MD5 f88a0f4a06d02ed4c0599d6a38496ce4
BLAKE2b-256 e643c11e0e6d42821dd847fbf61a677be7f0ab33adb08484e7a7dcca48f0fce8

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.1.post18555

1 file

0.0.1.post17237

1 file

0.0.1.post17217

1 file

0.0.1.post17198

1 file

0.0.1.post17171

1 file

0.0.1.post17160

1 file

This release

0.0.1.post17157 This release

1 file

0.0.1.post17134

1 file

0.0.1.post17119

1 file

0.0.1.post17113

1 file

0.0.1.post17017

1 file

0.0.1.post17012

1 file

0.0.1.post16982

1 file

0.0.1.post16980

1 file

0.0.1.post16978

1 file

0.0.1.post16976

1 file

0.0.1.post16972

1 file

0.0.1.post16970

1 file

0.0.1.post16968

1 file

0.0.1.post16966

1 file

0.0.1.post16964

1 file

0.0.1.post16962

1 file

0.0.1.post16957

1 file

0.0.1.post16953

1 file

0.0.1.post16950

1 file

0.0.1.post16948

1 file

0.0.1.post16756

1 file

0.0.1.post16754

1 file

0.0.1.post16752

1 file

0.0.1.post16750

1 file

0.0.1.post16748

1 file

0.0.1.post16746

1 file

0.0.1.post16724

1 file

0.0.1.post16720

1 file

0.0.1.post16715

1 file

0.0.1.post16711

1 file

0.0.1.post16709

1 file

0.0.1.post16707

1 file

0.0.1.post16705

1 file

0.0.1.post16685

1 file

0.0.1.post16683

1 file

0.0.1.post16679

1 file

0.0.1.post16677

1 file

0.0.1.post16675

1 file

0.0.1.post16673

1 file

0.0.1.post16671

1 file

0.0.1.post16669

1 file

0.0.1.post16667

1 file

0.0.1.post16665

1 file

0.0.1.post16663

1 file

0.0.1.post16656

1 file

0.0.1.post16647

1 file

0.0.1.post16645

1 file

0.0.1.post16643

1 file

0.0.1.post16641

1 file

0.0.1.post16639

1 file

0.0.1.post16637

1 file

0.0.1.post16635

1 file

0.0.1.post16633

1 file

0.0.1.post16631

1 file

0.0.1.post16629

1 file

0.0.1.post16627

1 file

0.0.1.post16625

1 file

0.0.1.post16622

1 file

0.0.1.post16620

1 file

0.0.1.post16618

1 file

0.0.1.post16610

1 file

0.0.1.post16608

1 file

0.0.1.post16602

1 file

0.0.1.post16590

1 file

0.0.1.post16588

1 file

0.0.1.post16586

1 file

0.0.1.post16572

1 file

0.0.1.post16536

1 file

0.0.1.post16534

1 file

0.0.1.post16532

1 file

0.0.1.post16530

1 file

0.0.1.post16528

1 file

0.0.1.post16526

1 file

0.0.1.post16524

1 file

0.0.1.post16522

1 file

0.0.1.post16520

1 file

0.0.1.post16518

1 file

0.0.1.post16516

1 file

0.0.1.post16501

1 file

0.0.1.post16491

1 file

0.0.1.post16473

1 file

0.0.1.post16463

1 file

0.0.1.post16461

1 file

0.0.1.post16454

1 file

0.0.1.post16452

1 file

0.0.1.post16406

1 file

0.0.1.post16404

1 file

0.0.1.post16402

1 file

0.0.1.post16400

1 file

0.0.1.post16398

1 file

0.0.1.post16396

1 file

0.0.1.post16394

1 file

0.0.1.post16392

1 file

0.0.1.post16390

1 file

0.0.1.post16388

1 file

0.0.1.post16385

1 file

0.0.1.post16376

1 file

0.0.1.post16374

1 file

0.0.1.post16372

1 file

0.0.1.post16370

1 file

0.0.1.post16368

1 file

0.0.1.post16354

1 file

0.0.1.post16352

1 file

0.0.1.post16344

1 file

0.0.1.post13586

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page