invidious-copy-2022-03-16/setup.sh
2018-09-29 13:30:56 +02:00

9 lines
266 B
Bash
Executable file

#!/bin/bash
createdb invidious
#createuser kemal
psql -c "CREATE USER kemal WITH PASSWORD 'kemal';"
psql invidious < config/sql/channels.sql
psql invidious < config/sql/videos.sql
psql invidious < config/sql/channel_videos.sql
psql invidious < config/sql/users.sql