Import blocklist into postgres
parent
27bf18e077
commit
3183224437
19
README.md
19
README.md
|
@ -132,6 +132,25 @@ sudo cp dist/rapidblock_dot_org.pub /opt/rapidblock/share/rapidblock-dot-org.pub
|
|||
sudo cp rapidblock /opt/rapidblock/bin/rapidblock
|
||||
```
|
||||
|
||||
I tried this to get an initial blocklist imported.
|
||||
The import appeared to work, and I can see it in the
|
||||
logs, but I don't see the actual list of blocked domains
|
||||
in the admin interface.
|
||||
|
||||
```
|
||||
curl -o /tmp/blocklist.json https://rapidblock.org/blocklist.json
|
||||
|
||||
rapidblock \
|
||||
--software=mastodon-4.x \
|
||||
--mode=apply \
|
||||
--data-file=/tmp/blocklist.json \
|
||||
--database-url="postgresql:///mastodon_production"
|
||||
```
|
||||
|
||||
Note the database name `mastodon_production` was default for Mastodon
|
||||
install, but you may have another name.
|
||||
|
||||
|
||||
Perhaps also:
|
||||
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue