mirror of
https://github.com/mikedilger/chorus.git
synced 2026-01-03 06:15:33 +00:00
update docs
This commit is contained in:
parent
2794515ab7
commit
6d7d3f4afe
@ -69,7 +69,7 @@ cargo build --release
|
||||
Ok now let's install that (along with the utility binaries):
|
||||
|
||||
```bash
|
||||
sudo install --mode=0700 --owner=chorus ./target/release/{chorus,chorus_compress,chorus_dump,chorus_dump_approvals,chorus_moderate} /opt/chorus/sbin/
|
||||
sudo install --mode=0700 --owner=chorus ./target/release/{chorus,chorus_compress,chorus_dump,chorus_dump_approvals,chorus_moderate,chorus_cmd} /opt/chorus/sbin/
|
||||
```
|
||||
|
||||
Now let's create our config file
|
||||
@ -180,7 +180,7 @@ sudo journalctl -f -u chorus.service
|
||||
cd /opt/chorus/src/chorus
|
||||
git pull
|
||||
cargo build --release
|
||||
sudo install --mode=0700 --owner=chorus ./target/release/{chorus,chorus_compress,chorus_dump,chorus_dump_approvals,chorus_moderate} /opt/chorus/sbin/
|
||||
sudo install --mode=0700 --owner=chorus ./target/release/{chorus,chorus_compress,chorus_dump,chorus_dump_approvals,chorus_moderate,chorus_cmd} /opt/chorus/sbin/
|
||||
sudo systemctl restart chorus.service
|
||||
````
|
||||
|
||||
|
||||
@ -27,3 +27,9 @@ This shows the public keys you have approved.
|
||||
Usage: **chorus_moderate** *<path_to_config_file\>*
|
||||
|
||||
This is an interactive tool to moderate events which have been accepted, but which are not authored by a chorus user. If you chose to approve them, they will become available to the public.
|
||||
|
||||
## chorus_cmd
|
||||
|
||||
Usage: **chorus_cmd** *<path_to_config_file\>* *<command\>* *[args...]*
|
||||
|
||||
Commands available: delete_by_id (specify the ID in hex), delete_by_pubkey (specify the pubkey in hex)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user