diff options
| author | Omar Roth <omarroth@hotmail.com> | 2019-04-06 07:38:33 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2019-04-06 07:38:33 -0500 |
| commit | c5001f3620d6a9d4d24ce63afdf892a690b16440 (patch) | |
| tree | 39f34e178887209851bd2b0aba73a80412e0ea1d /README.md | |
| parent | 8d5f9418297ac8b43540c571b466da82dd9fac0f (diff) | |
| download | invidious-c5001f3620d6a9d4d24ce63afdf892a690b16440.tar.gz invidious-c5001f3620d6a9d4d24ce63afdf892a690b16440.tar.bz2 invidious-c5001f3620d6a9d4d24ce63afdf892a690b16440.zip | |
Add role to psql scripts
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |
