invidious/setup.sh

11 lines
305 B
Bash
Raw Normal View History

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