1
0
Fork 0

Add trending videos strategy

This commit is contained in:
Chocobozzz 2018-09-14 09:57:21 +02:00
parent 6f0c46be8c
commit b36f41ca09
No known key found for this signature in database
GPG key ID: 583A612D890159BE
11 changed files with 254 additions and 142 deletions

View file

@ -6,9 +6,8 @@ for i in $(seq 1 6); do
dbname="peertube_test$i"
dropdb --if-exists "$dbname"
rm -rf "./test$i"
rm -f "./config/local-test.json"
rm -f "./config/local-test-$i.json"
rm -rf "./test$i" "./config/local-test.json" "./config/local-test-$i.json"
createdb -O peertube "$dbname"
psql -c "CREATE EXTENSION pg_trgm;" "$dbname"
psql -c "CREATE EXTENSION unaccent;" "$dbname"