Git Product home page Git Product logo

jqt's Introduction

jqt · The jq template engine

jqt is a web template engine that uses jq as expression language.

The tools used in the implementation of jqt are:

  • jq, a lightweight and flexible command-line JSON processor.
  • GPP, a general-purpose preprocessor.
  • Pandoc, a universal document converter.
  • Bash, sed and other shell tools.

If you want to learn how to use jqt visit the site https://fadado.github.io/jqt/. The site pages are generated using jqt in the docs folder of this repository. If you are interested in jqt you can see also JBOL, a related project with a collection of modules for the jq language.

jqt is developed under the Fedora Linux distribution, and a lot of portability issues are expected at this stage of development. Please, use this GitHub repository features if you want to send any kind of questions.

Project management

This project uses GNU Make on several development activities, but make is not necessary to run jqt. This section explains the repository structure and how it is managed.

Makefile

The file Makefile concentrates all the routine procedures, like running the tests or install last versions of scripts in the system directories. The main defined targets are:

  • list: list all targets defined in the Makefile.

  • check: run the jqt tests. This is the default target.

  • clean: remove all files generated during tests execution.

  • install: install jqt scripts and related files in the system directories.

  • uninstall: remove installed files from the system directories.

Installation

In systems with the GNU software installed tools such as Bash, sed and other shell tools are installed by default. To use jqt you must install additional tools like GPP or Pandoc; for example, in recent Fedora Linux distributions the following command will install all the extra software jqt needs:

$ sudo dnf -y install make general-purpose-preprocessor jq pandoc python2-pyyaml

To install jqt simply run make install on the jqt repository top directory. If you don’t like to install into the /usr/local system directory you can change the destination directory:

$ sudo make install prefix=/your/installation/path

Alternatively you can install jqt manually executing a few commands on the jqt top directory:

$ sudo mkdir -p /usr/local/bin /usr/local/share/jqt
$ sudo cp bin/* /usr/local/bin
$ sudo cp -r share/* /usr/local/share/jqt
$ [[ $PATH =~ /usr/local/bin ]] || echo 'Add /usr/local/bin to your PATH'

Scripts

The bin directory contains jqt and other related tools. The jqt script also needs some files located in the share directory.

Tests

The execution of make check or simply make will run several tests located in the directory tests. Ensure that the tests are passed before start another jqt uses.

Documentation

The directory docs contains the source files for jqt documentation. Please see the directory docs for all information on this subproject.

jqt's People

Contributors

fadado avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

szepeviktor

jqt's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.