summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2019-04-06 07:38:33 -0500
committerOmar Roth <omarroth@hotmail.com>2019-04-06 07:38:33 -0500
commitc5001f3620d6a9d4d24ce63afdf892a690b16440 (patch)
tree39f34e178887209851bd2b0aba73a80412e0ea1d /README.md
parent8d5f9418297ac8b43540c571b466da82dd9fac0f (diff)
downloadinvidious-c5001f3620d6a9d4d24ce63afdf892a690b16440.tar.gz
invidious-c5001f3620d6a9d4d24ce63afdf892a690b16440.tar.bz2
invidious-c5001f3620d6a9d4d24ce63afdf892a690b16440.zip
Add role to psql scripts
Diffstat (limited to 'README.md')
-rw-r--r--README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index d8aaef47..0d02fe32 100644
--- a/README.md
+++ b/README.md
@@ -101,7 +101,7 @@ $ exit
$ sudo systemctl enable postgresql
$ sudo systemctl start postgresql
$ sudo -i -u postgres
-$ psql -c "CREATE USER kemal WITH PASSWORD 'kemal';"
+$ psql -c "CREATE USER kemal WITH PASSWORD 'kemal';" # Change 'kemal' here to a stronger password, and update `password` in config/config.yml
$ createdb -O kemal invidious
$ psql invidious < /home/invidious/invidious/config/sql/channels.sql
$ psql invidious < /home/invidious/invidious/config/sql/videos.sql
@@ -143,8 +143,8 @@ $ brew install shards crystal-lang postgres imagemagick librsvg
$ git clone https://github.com/omarroth/invidious
$ cd invidious
$ brew services start postgresql
-$ psql -c "CREATE ROLE kemal WITH LOGIN PASSWORD 'kemal';"
-$ createdb invidious -U kemal
+$ 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
$ psql invidious < config/sql/channels.sql
$ psql invidious < config/sql/videos.sql
$ psql invidious < config/sql/channel_videos.sql