mirror of
https://github.com/g3rv4/GetMoarFediverse.git
synced 2024-11-24 00:23:10 +01:00
Remove another config.json example
This commit is contained in:
parent
da7e696dfb
commit
08d4aed8e9
13
README.md
13
README.md
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user