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.
1. Create the first garage account
Section titled “1. Create the first garage account”Create the garage and its first direction account with the provisioning command in the API container:
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.
2. Create the sites
Section titled “2. Create the sites”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.
3. Invite the staff
Section titled “3. Invite the staff”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.
4. Complete the invoicing settings
Section titled “4. Complete the invoicing settings”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.
5. Issue a test document
Section titled “5. Issue a test document”Create a test client and a quote, issue it, and check the PDF.