Fix install command
This commit is contained in:
parent
64c653f055
commit
e6b9134e8c
|
@ -7,7 +7,7 @@ This is a simple database-based block bot for Mastodon.
|
||||||
1. Install plpython3. On Debian this is `apt install postgresql-plpython3-13`.
|
1. Install plpython3. On Debian this is `apt install postgresql-plpython3-13`.
|
||||||
2. Run the script as the database administrator account (postgres) in your Mastodon database.
|
2. Run the script as the database administrator account (postgres) in your Mastodon database.
|
||||||
Database admin is required to create the Python extension and function.
|
Database admin is required to create the Python extension and function.
|
||||||
For example: `sudo -u mastodon psql mastodon < blockbot.sql`.
|
For example: `sudo -u postgres psql mastodon < blockbot.sql`.
|
||||||
3. Insert a row into blockbot_config with your Mastodon hostname and a token for the account you want the blockbot to use. `INSERT INTO blockbot_config (hostname, token) VALUES ('freak.university', '...');`
|
3. Insert a row into blockbot_config with your Mastodon hostname and a token for the account you want the blockbot to use. `INSERT INTO blockbot_config (hostname, token) VALUES ('freak.university', '...');`
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|
Reference in New Issue