Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 963 Bytes

README.md

File metadata and controls

51 lines (34 loc) · 963 Bytes

Invoice Generator

Purpose

Python script that generates invoice (only Czech language ATM)

Prerequisites

Dependencies

First step

git clone https://github.com/tomas223/invoice_generator
cd invoice_generator
cp .env.example .env
  • Update env. variables.
    • Use symbol | (pipe) as line separator.
    • Some variables are optional. For details check settings.py file

How to run in Docker and convert to PDF automatically

Build Docker container

# Windows PowerShell, Linux & Mac
docker build -t invoices_python .

# Linux & Mac
make build

Generate invoice report

# Windows PowerShell, Linux & Mac
docker run -it --rm -v ${PWD}:/app invoices_python

# Linux & Mac
make invoice
  • Now you can find your report in output directory