[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-auditor] branch master updated (8ce0d0f -> 851416c)

From: gnunet
Subject: [taler-auditor] branch master updated (8ce0d0f -> 851416c)
Date: Sat, 24 Oct 2020 21:43:36 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a change to branch master
in repository auditor.

    from 8ce0d0f  some minimal love for the auditor page, not working yet though
     new 56cdadf  update docu
     new 851416c  ignore generated files

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.

Summary of changes:
 .gitignore |  6 ++++++
 INSTALL    | 35 +++++++++++++++++++++++++++++++++++
 README     | 26 ++++++++++++++++++--------
 3 files changed, 59 insertions(+), 8 deletions(-)
 create mode 100644 .gitignore
 create mode 100644 INSTALL

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..e153316
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,6 @@
diff --git a/INSTALL b/INSTALL
new file mode 100644
index 0000000..ff92ac4
--- /dev/null
@@ -0,0 +1,35 @@
+Installation instructions
+For Debian:
+Simply install:
+# apt-install python3-ruamel.yaml python3-jinja2 python3-babel git 
+Then invoke "bootstrap" and "configure". You must pass
+"--prefix=$P" and "--variant=$V" for some values of
+$P and $V to configure.  The actual Web site
+will be installed at $P/$V.
+For NetBSD:
+Install python3.8, py38-babel, npm, nodejs from pkgsrc.
+Adjust the values in
+       PYTHON=python3.8
+       BABEL=pybabel-3.8
+npm install typescript
+Add the node_module's bin to your $PATH for the typescript binary.
+make submodules/init
+make submodules/update
+If you installed typescript in $HOME:
+PATH=$HOME/node_modules/.bin/:$PATH env BROWSER=firefox make run
+to run the website
diff --git a/README b/README
index 8974620..687b361 100644
--- a/README
+++ b/README
@@ -1,11 +1,21 @@
-This repository just contains the auditor's standalone Web site.
-The actual auditing logic is part of the 'exchange.git' repository.
+This repository contains a template for a simple auditor Web site.
-To build the auditor web page stand alone, make sure you have GNUnet 
-installed (e.g. via apt install gnunet) for the required gnunet-ecc
-support, and run the following steps from the repository root:
+The Web site consists of basically static HTML. However, the static HTML is
+run through the Jinja2 template processor for internationalization.
-$ git submodule init
-$ git submodule update --remote
-$ make
+INSTALL contains instructions for how to generate the HTML page(s).
+  Basically, you edit the English "*.html.j2" files in template/, and then run
+  the Python script to generate static HTML.  To facilitate translation, all
+  English text in the HTML is marked for GNU Gettext using Jinja2 mark-up.
+  The translations of the strings into the various languages are in the
+  locale/ directory.
+  This directory contains various Python scripts that are included during
+  the pre-processing with Jinja2.

To stop receiving notification emails like this one, please contact

reply via email to

[Prev in Thread] Current Thread [Next in Thread]