Initial version of the E-Invoice solution of JR IT Services
This commit is contained in:
21
Makefile
Normal file
21
Makefile
Normal file
@@ -0,0 +1,21 @@
|
||||
VENV?=.venv
|
||||
PY=$(VENV)/bin/python
|
||||
JR=$(VENV)/bin/jr-einvoice
|
||||
|
||||
.PHONY: venv install install-pdf demo
|
||||
|
||||
venv:
|
||||
python -m venv $(VENV)
|
||||
|
||||
install: venv
|
||||
$(PY) -m pip install -U pip
|
||||
$(PY) -m pip install -r requirements.txt
|
||||
$(PY) -m pip install -e .
|
||||
|
||||
install-pdf: install
|
||||
$(PY) -m pip install -r requirements-pdf.txt
|
||||
|
||||
demo:
|
||||
mkdir -p invoices/Demo_Invoice
|
||||
cp examples/invoice.sample.yaml invoices/Demo_Invoice/invoice.yaml
|
||||
$(JR) generate invoices/Demo_Invoice --log-level DEBUG
|
||||
Reference in New Issue
Block a user