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.post16976.tar.gz (12.8 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for Moustache.beta-0.0.1.post16976.tar.gz
Algorithm Hash digest
SHA256 e73a8b13041380d61c1601f4f35dd1d1bf0c57872f1e1f4fbdf95aeb4f1a18b0
MD5 27dbfd78adb334c5b0f4d53754c5d02b
BLAKE2b-256 7a06dfd00effc2d0b6c350fd75e184b2a3e77c522c6dc3fd82816176da5116a4

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

0.0.1.post17157

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

This release

0.0.1.post16976 This release

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