From 7851426ecc8570c92a79ea60c0a27dc20adab221 Mon Sep 17 00:00:00 2001 From: Jean-Marie Renouard Date: Fri, 11 Mar 2022 10:00:07 +0100 Subject: [PATCH] Generating .html reports #448 bis --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6b7d515..cd2c46c 100644 --- a/README.md +++ b/README.md @@ -218,22 +218,22 @@ HTML reports HTML generation is based on Python/Jinja2 -** HTML generation Procedure ** +**HTML generation Procedure** - Generate mysqltuner.pl report using JSON format (--json) - Generate HTML report using j2 python tools -** Jinja2 Templates are located under templates sub directory ** +**Jinja2 Templates are located under templates sub directory** A basic example is called basic.html.j2 -** Installation Python j2 ** +**Installation Python j2** python -mvenv j2 source ./j2/bin/activate (j2) pip install j2 -** Using Html report generation ** +**Using Html report generation** perl mysqltuner.pl --verbose --json > reports.json cat reports.json j2 -f json MySQLTuner-perl/templates/basic.html.j2 > variables.html