Update readme

This commit is contained in:
lemoer 2024-12-29 00:49:25 +01:00
parent d93b1141d7
commit c2d99290a8

View File

@ -22,7 +22,7 @@ docker compose up -d
In the beginning, this will only start the `signal-cli-rest-api` docker container. The other container will fail, since the `signal-cli` is not linked to the account. If you already activated the phone number with another signal device, you can register the new device. In the beginning, this will only start the `signal-cli-rest-api` docker container. The other container will fail, since the `signal-cli` is not linked to the account. If you already activated the phone number with another signal device, you can register the new device.
Join the docker do this: Join the docker:
``` ```
docker exec -it lab-signal-bot-signal-cli-rest-api-1 /bin/bash docker exec -it lab-signal-bot-signal-cli-rest-api-1 /bin/bash
``` ```
@ -44,6 +44,8 @@ Restart docker container:
docker restart lab-signal-bot-signal-cli-rest-api-1 docker restart lab-signal-bot-signal-cli-rest-api-1
``` ```
### Configure lab_cleaning_signal_base_group
From host, list signal groups: From host, list signal groups:
``` ```
python list_signal_groups.py --api-url http://localhost:8080/ -i python list_signal_groups.py --api-url http://localhost:8080/ -i
@ -59,6 +61,8 @@ Rebuild containers:
docker compose up --build -d docker compose up --build -d
``` ```
### Prepare host access (outside of docker)
Change the ownership of the db, such that the host user 1000 can write it: Change the ownership of the db, such that the host user 1000 can write it:
``` ```
sudo chown -R 1000 data/ sudo chown -R 1000 data/
@ -71,7 +75,7 @@ pip -m venv venv
pip install -r requirements.txt pip install -r requirements.txt
``` ```
### Creating a task ## Creating a task
Create a task: Create a task:
``` ```