💁♂️ [data.gouv.fr](https://data.gouv.fr) support application 💁♂️
cp .env.dist .env- Adjust the
.envfile with development settings npm install- You have to use node v14 (nvm install 14 && npm use 14)
npm run start:dev
In order to change the displayed question tree, one might change the config/question-tree.yaml file.
This file is written in YAML.
It starts with a top-level question, consisting in a title, and choices on which the user can click.
Each item of the choices attribute consists in a label displayed on the webpage, a link which can be a new question or an answer, and an id used to identify the choice.
The id must be URL-friendly, it consists of one or many lowecase words separated by -.
A new question follows the same structure as the top-level question.
An answer can be of three types:
- a
pathattribute, which must be a relative path to a markdown file containing the content to display - a
contentattribute, which is the raw html displayed content - a
formattribute, which represents a ticket submission form, with the following properties:title: the contact form title, displayed at the toprecipient: the target email address handled by Etalab's Zammad
npm run test
