From 3364f0ec625ece53df4e36217858a4753e3ebbe5 Mon Sep 17 00:00:00 2001 From: RunasSudo Date: Mon, 20 Apr 2020 12:58:15 +1000 Subject: [PATCH] Update README.md Thanks to T.B. for testing and feedback --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a3be701..bf01e31 100644 --- a/README.md +++ b/README.md @@ -33,17 +33,17 @@ See [https://yingtongli.me/blog/2020/03/31/ledger-pyreport.html](https://yington Install the dependencies from PyPI, optionally in a virtual environment: (Commands presented for Linux/Mac) ``` -virtualenv venv +virtualenv -p python3 venv . venv/bin/activate -pip install -r requirements.txt +pip3 install -r requirements.txt ``` -Copy *config.example.yml* to *config.yml* (or set the *LEDGER_PYREPORT_CONFIG* environment variable to the path to the config file). +Copy *config.example.yml* to *config.yml* (or set the *LEDGER_PYREPORT_CONFIG* environment variable to the path to the config file). Edit as required, in particular setting the path of the Ledger journal file, reporting currency and any required Ledger arguments. Run as per a usual Flask app, for example: ``` -FLASK_APP=ledger_pyreport python -m flask run +FLASK_APP=ledger_pyreport python3 -m flask run ``` ## Notes on Ledger setup