Remove another config.json example

This commit is contained in:
Gervasio Marchand 2022-12-23 10:39:18 -03:00
parent da7e696dfb
commit 08d4aed8e9
No known key found for this signature in database
GPG Key ID: B7736CB188DD0A38

View File

@ -66,18 +66,7 @@ This was built and graciously shared back to the main repo by [@chdorner](https:
### Download a prebuilt executable ### Download a prebuilt executable
You can download an executable for your environment [on the releases page](https://github.com/g3rv4/GetMoarFediverse/releases). In addition to that, you will need to set up a `config.json` file with your desired logic. It could be something like this: You can download an executable for your environment [on the releases page](https://github.com/g3rv4/GetMoarFediverse/releases). In addition to that, you will need to create a `config.json` file with your desired logic. Once you have that file, all you need to run is `./GetMoarFediverse /path/to/config.json`. You can put it on a cron like this :)
```
{
"FakeRelayUrl": "https://fakerelay.gervas.io",
"FakeRelayApiKey": "1TxL6m1Esx6tnv4EPxscvAmdQN7qSn0nKeyoM7LD8b9mz+GNfrKaHiWgiT3QcNMUA+dWLyWD8qyl1MuKJ+4uHA==",
"Tags": [ "dotnet", "csharp" ],
"Instances": [ "hachyderm.io", "mastodon.social" ]
}
```
Once you have that file, all you need to run is `./GetMoarFediverse /path/to/config.json`. You can put it on a cron like this :)
``` ```
1,16,31,46 * * * * /path/to/GetMoarFediverse /path/to/config.json > /path/to/GetMoarFediverse/cron.log 2>&1 1,16,31,46 * * * * /path/to/GetMoarFediverse /path/to/config.json > /path/to/GetMoarFediverse/cron.log 2>&1