update readme
This commit is contained in:
parent
1f85bc0810
commit
53b31c2c44
1 changed files with 4 additions and 4 deletions
|
@ -54,13 +54,13 @@ Create a new database and user, for example:
|
||||||
```
|
```
|
||||||
$ sudo -iu postgres
|
$ sudo -iu postgres
|
||||||
$ psql
|
$ psql
|
||||||
# CREATE DATABASE hanab-live;
|
# CREATE DATABASE "hanab-live";
|
||||||
# \c hanab-live
|
# \c hanab-live
|
||||||
# CREATE USER hanabi WITH PASSWORD '1234';
|
# CREATE USER hanabi WITH PASSWORD '1234';
|
||||||
# GRANT ALL PRIVILEGES ON DATABASE hanab-live TO hanabi;
|
# GRANT ALL PRIVILEGES ON DATABASE "hanab-live" TO hanabi;
|
||||||
# GRANT USAGE ON SCHEMA public TO hanabiuser;
|
# GRANT USAGE ON SCHEMA public TO hanabi;
|
||||||
# GRANT ALL PRIVILEGES ON ALL TABLES IN 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`).
|
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`,
|
This should be located at your system default for the application `hanabi-suite`,
|
||||||
|
|
Loading…
Reference in a new issue