README.md aktualisiert

This commit is contained in:
alex 2026-02-02 12:26:06 +01:00
parent 8797d25b56
commit a07e5c9fd4

View file

@ -54,13 +54,16 @@ https://docs.joinmastodon.org/methods/oauth/#token
To find this out took me hours and hours. I'm writing it down to spare you time. To find this out took me hours and hours. I'm writing it down to spare you time.
## automation
the oauth part will me mostly automated at some point but rn it is still manual. feel free to help automate it.
## docker ## docker
you can use the dockerfile and docker-compose.yml i provided. I will at some point push a docker image which is ready to use. Until then you will have to build the image first. Here's how: you can use the dockerfile and docker-compose.yml i provided. I will at some point push a docker image which is ready to use. Until then you will have to build the image first. Here's how:
git clone https://code.kraftw3rk.de/alex/quote-bot.git git clone https://code.kraftw3rk.de/alex/quote-bot.git
git switch rest-bot git switch rest-bot
touch quotes.txt #(fill with quotes, one per line, no longer than your instance character limit!) touch quotes.txt #(fill with quotes, one per line, no longer than your instance character limit!)
touch .env #(fill with "UserToken='***'" insert the token where the stars are!) mv .env-example .env #(insert the user token where the stars are!)
mv docker-compose-example.yml docker-compose.yml mv docker-compose-example.yml docker-compose.yml
docker compose up -d docker compose up -d