invidious/setup.sh

10 lines
266 B
Bash
Raw Normal View History

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