mirror of
https://gitea.invidious.io/iv-org/documentation.git
synced 2024-08-15 00:53:34 +00:00
Add createdb
Fixes initial error: FATAL: database "<user>" does not exist <https://stackoverflow.com/a/17936043>
This commit is contained in:
parent
9d9c4e6bf7
commit
de4d83b3f3
1 changed files with 1 additions and 0 deletions
|
@ -184,6 +184,7 @@ brew install crystal postgresql imagemagick librsvg
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
brew services start postgresql
|
brew services start postgresql
|
||||||
|
createdb
|
||||||
psql -c "CREATE ROLE kemal WITH PASSWORD 'kemal';" # Change 'kemal' here to a stronger password, and update `password` in config/config.yml
|
psql -c "CREATE ROLE kemal WITH PASSWORD 'kemal';" # Change 'kemal' here to a stronger password, and update `password` in config/config.yml
|
||||||
createdb -O kemal invidious
|
createdb -O kemal invidious
|
||||||
psql invidious kemal < config/sql/channels.sql
|
psql invidious kemal < config/sql/channels.sql
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue