invidious-copy-2023-06-08/setup.sh

11 lines
305 B
Bash
Raw Normal View History

2018-01-29 02:31:35 +00:00
#!/bin/bash
createdb invidious
2018-09-26 07:46:08 +00:00
#createuser kemal
psql -c "CREATE USER kemal WITH PASSWORD 'kemal';"
2018-03-25 03:44:17 +00:00
psql invidious < config/sql/channels.sql
psql invidious < config/sql/videos.sql
psql invidious < config/sql/channel_videos.sql
2018-03-30 02:41:05 +00:00
psql invidious < config/sql/users.sql
psql invidious < config/sql/nonces.sql