Alpha Release 0.1.0 - Contract generation #11

Merged
niggl merged 52 commits from dev into main 2021-02-07 15:53:09 +00:00
Showing only changes of commit f69e7779e4 - Show all commits

View File

@ -37,7 +37,7 @@ The basic generation mechanism makes the templates and routes interchangeable (i
> The templates are stored in src/templates by default. > The templates are stored in src/templates by default.
We provide a set of default templates that we use for the ["Lauf für Kaya!" charity run](https://lauf-fuer-kaya.de). We provide a set of default templates that we use for the ["Lauf für Kaya!" charity run](https://lauf-fuer-kaya.de).
We use handlebars for templateing utilizing i18next for translation. We use handlebars for templateing utilizing i18next for translation - the i18n string format in the templates is : `{{__ "string"}}`
You can provide your own templates by replacing the ones we provided before compiling the project or by simply mounting your custom templates into the docker container. You can provide your own templates by replacing the ones we provided before compiling the project or by simply mounting your custom templates into the docker container.
The server currently needs the following templates to work: The server currently needs the following templates to work:
@ -47,7 +47,8 @@ The server currently needs the following templates to work:
| Template Data | Type | Optional | Description | Template Data | Type | Optional | Description
| - | - | - | - | - | - | - | -
| runner | object(Runner) | ❌ | The runner object. | runners | array(Runner) | ❌ | The runner objects. We generate a contract for each runner on a new DIN-A5 page.
## Recommended Editor ## Recommended Editor
@ -56,6 +57,7 @@ The server currently needs the following templates to work:
### Recommended Extensions ### Recommended Extensions
* will be automatically recommended via ./vscode/extensions.json * will be automatically recommended via ./vscode/extensions.json
* we also provide a config for i18n-ally in the .vscode folder
## Staging ## Staging
### Branches & Tags ### Branches & Tags