forked from midou/invidious
Update postgres setup
This commit is contained in:
parent
e21f770485
commit
9de57021a3
@ -161,6 +161,9 @@ $ psql invidious kemal < config/sql/users.sql
|
|||||||
$ psql invidious kemal < config/sql/session_ids.sql
|
$ psql invidious kemal < config/sql/session_ids.sql
|
||||||
$ psql invidious kemal < config/sql/nonces.sql
|
$ psql invidious kemal < config/sql/nonces.sql
|
||||||
$ psql invidious kemal < config/sql/annotations.sql
|
$ psql invidious kemal < config/sql/annotations.sql
|
||||||
|
$ psql invidious kemal < config/sql/privacy.sql
|
||||||
|
$ psql invidious kemal < config/sql/playlists.sql
|
||||||
|
$ psql invidious kemal < config/sql/playlist_videos.sql
|
||||||
|
|
||||||
# Setup Invidious
|
# Setup Invidious
|
||||||
$ shards update && shards install
|
$ shards update && shards install
|
||||||
|
@ -19,9 +19,9 @@ if [ ! -f /var/lib/postgresql/data/setupFinished ]; then
|
|||||||
su postgres -c 'psql invidious kemal < config/sql/session_ids.sql'
|
su postgres -c 'psql invidious kemal < config/sql/session_ids.sql'
|
||||||
su postgres -c 'psql invidious kemal < config/sql/nonces.sql'
|
su postgres -c 'psql invidious kemal < config/sql/nonces.sql'
|
||||||
su postgres -c 'psql invidious kemal < config/sql/annotations.sql'
|
su postgres -c 'psql invidious kemal < config/sql/annotations.sql'
|
||||||
|
su postgres -c 'psql invidious kemal < config/sql/privacy.sql'
|
||||||
su postgres -c 'psql invidious kemal < config/sql/playlists.sql'
|
su postgres -c 'psql invidious kemal < config/sql/playlists.sql'
|
||||||
su postgres -c 'psql invidious kemal < config/sql/playlist_videos.sql'
|
su postgres -c 'psql invidious kemal < config/sql/playlist_videos.sql'
|
||||||
su postgres -c 'psql invidious kemal < config/sql/privacy.sql'
|
|
||||||
touch /var/lib/postgresql/data/setupFinished
|
touch /var/lib/postgresql/data/setupFinished
|
||||||
echo "### invidious database setup finished"
|
echo "### invidious database setup finished"
|
||||||
exit
|
exit
|
||||||
|
Loading…
Reference in New Issue
Block a user