update readme

This commit is contained in:
Maximilian Keßler 2023-07-05 22:38:26 +02:00
parent 1f85bc0810
commit 53b31c2c44
Signed by: max
GPG key ID: BCC5A619923C0BA5

View file

@ -54,13 +54,13 @@ Create a new database and user, for example:
```
$ sudo -iu postgres
$ psql
# CREATE DATABASE hanab-live;
# CREATE DATABASE "hanab-live";
# \c hanab-live
# CREATE USER hanabi WITH PASSWORD '1234';
# GRANT ALL PRIVILEGES ON DATABASE hanab-live TO hanabi;
# GRANT USAGE ON SCHEMA public TO hanabiuser;
# GRANT ALL PRIVILEGES ON DATABASE "hanab-live" TO hanabi;
# GRANT USAGE ON SCHEMA public TO hanabi;
# GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO hanabi;
# GRANT ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA public TO hanabiuser;
# GRANT ALL PRIVILEGES ON ALL SEQUENCES IN SCHEMA public TO hanabi;
```
Put the connection parameters in a config file (for the format, see `example_config.yaml`).
This should be located at your system default for the application `hanabi-suite`,