invidious-experimenting/setup.sh

11 lines
305 B
Bash
Raw Permalink Normal View History

2018-01-29 08:01:35 +05:30
#!/bin/bash
createdb invidious
2018-09-26 13:16:08 +05:30
#createuser kemal
psql -c "CREATE USER kemal WITH PASSWORD 'kemal';"
2018-03-25 09:14:17 +05:30
psql invidious < config/sql/channels.sql
psql invidious < config/sql/videos.sql
psql invidious < config/sql/channel_videos.sql
2018-03-30 08:11:05 +05:30
psql invidious < config/sql/users.sql
psql invidious < config/sql/nonces.sql