Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brunurd/tpl-gen
A template generator using Jinja2 and Smarty TPL files.
https://github.com/brunurd/tpl-gen
Last synced: 13 days ago
JSON representation
A template generator using Jinja2 and Smarty TPL files.
- Host: GitHub
- URL: https://github.com/brunurd/tpl-gen
- Owner: brunurd
- License: mit
- Created: 2021-07-07T01:40:54.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-26T15:35:51.000Z (about 3 years ago)
- Last Synced: 2024-10-28T06:31:04.881Z (2 months ago)
- Language: Shell
- Homepage:
- Size: 59.6 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# tpl-gen (A Minimalistic Jinja templates generator)
[![GitHub](https://img.shields.io/github/license/brunurd/tpl-gen)][license-url]
A template generator using Jinja2 and Smarty TPL files.
---
## Prerequisites
- bash
- make
- docker---
## Usage
Is possible to show all available make actions calling:
```bash
make help
# or
make
```## SETUP
Build an ubuntu 20.04 image and initialize a container with all required dependencies:
```bash
make install
# you should wait a bit after the attach to give the# which is the same as
make install-tpl-gen
# to run without using the docker cache
make clean-install-tpl-gen
```## LINT
Build an ubuntu 20.04 image and initialize a container with all required dependencies:
```bash
# run the tests in the tpl-gen python project
docker exec -it tpl-gen-tpl-gen-con ./run -a do_run_pylint_in_python_files
```## TESTS
Build an ubuntu 20.04 image and initialize a container with all required dependencies:
```bash
# run the tests in the tpl-gen python project
make do-test-tpl-gen
```## Run
Run the Templating
```bash
make do-tpl-gen
```[license-url]: LICENSE