Skip to content

Set up your first garage

At the end of this page, the garage has its first account, its sites, its staff accounts and the invoicing settings needed to issue a first invoice.

Create the garage and its first direction account with the provisioning command in the API container:

Terminal window
docker compose exec api node dist/cli/creer-garage.js --garage "Garage Exemple SA" --email [email protected]

The password is asked for interactively. To pass it without typing, set DFA_PREMIER_MOT_DE_PASSE in the environment of the command.

Result: the account can sign in on the web interface.

The demo seed (pnpm db:seed) refuses to run with NODE_ENV=production. Do not use it on a server that holds real data.

Open the settings for sites and create one entry per workshop, counter or showroom. Each piece of data (clients, vehicles, orders, stock) belongs to one site.

Open the settings for users and create one account per person. Choose the role that matches the work of the person. See roles and rights.

For a shared workshop terminal, create an account with the role poste_atelier and attach it to one site.

Fill in the company name and address, the VAT number and regime, the bank details, and the creditor block. The creditor block is copied onto each invoice when it is issued.

Invoices with a QR-bill cannot be issued without a complete creditor block.

Create a test client and a quote, issue it, and check the PDF.