invidious/setup.sh

11 lines
305 B
Bash
Raw Normal View History

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