From cae5a40d52e232d046770cd5ee6342e0dbe0ddcd Mon Sep 17 00:00:00 2001 From: Homer S Date: Tue, 29 Jun 2021 23:17:27 +0200 Subject: [PATCH] Corrected markdown. --- README.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 75cbb15..642583d 100644 --- a/README.md +++ b/README.md @@ -20,16 +20,14 @@ If you like to test this repository you are recommended to use one of the follow * `cd ` * Clone the repo. * Inside the repo run `pip install --update pip && pip install -r requirements.txt` - + Create an `.env` file with your favourite editor: + * Create an `.env` file with your favourite editor: ``` FRITZ_USERNAME="fritzab" FRITZ_PASSWORD="SomeRand0mPa55word" FRITZ_IP="192.168.178.1" FRITZ_TMP="/tmp" - ``` - * Adjust it according to your data. * For matrix-commander.py to work you need to run it manually the first time by `python3 matrix-commander` and follow the emerging dialog by putting in your matrix account data. * After all that you can finally run `./fritzab2matrix.py` and your TAM messages should be posted in the chosen matrix chat. @@ -40,11 +38,11 @@ Provided you have docker and docker-compose installed on your system: * Run `docker-compose -f docker/docker-compose.yml build` and watch docker work some minutes. * After that slightly edit the `docker-compose.yml` * and add - ``` +``` volumes: - ../.:/app - ``` - +``` + * * so that your repo is used as volume for the `/app` folder. So everything you change in the repo's folder will affect the docker container. * For __matrix-commander.py__ to work you need to run it manually the first time by `python3 matrix-commander` and follow the emerging dialog by putting in your matrix account data.