aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/clean/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-09-14 09:57:21 +0200
committerChocobozzz <me@florianbigard.com>2018-09-14 09:57:21 +0200
commitb36f41ca09e92ecb30d367d91d1089a23d10d585 (patch)
tree34b7c90e17f73f37d069a2f08d60dc36fa08372f /scripts/clean/server
parent6f0c46be8c9f4690d5e5cb758c4df6164b006f83 (diff)
downloadPeerTube-b36f41ca09e92ecb30d367d91d1089a23d10d585.tar.gz
PeerTube-b36f41ca09e92ecb30d367d91d1089a23d10d585.tar.zst
PeerTube-b36f41ca09e92ecb30d367d91d1089a23d10d585.zip
Add trending videos strategy
Diffstat (limited to 'scripts/clean/server')
-rwxr-xr-xscripts/clean/server/test.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/clean/server/test.sh b/scripts/clean/server/test.sh
index 3b8fe39ed..5f9a88a2e 100755
--- a/scripts/clean/server/test.sh
+++ b/scripts/clean/server/test.sh
@@ -6,9 +6,8 @@ for i in $(seq 1 6); do
6 dbname="peertube_test$i" 6 dbname="peertube_test$i"
7 7
8 dropdb --if-exists "$dbname" 8 dropdb --if-exists "$dbname"
9 rm -rf "./test$i" 9 rm -rf "./test$i" "./config/local-test.json" "./config/local-test-$i.json"
10 rm -f "./config/local-test.json" 10
11 rm -f "./config/local-test-$i.json"
12 createdb -O peertube "$dbname" 11 createdb -O peertube "$dbname"
13 psql -c "CREATE EXTENSION pg_trgm;" "$dbname" 12 psql -c "CREATE EXTENSION pg_trgm;" "$dbname"
14 psql -c "CREATE EXTENSION unaccent;" "$dbname" 13 psql -c "CREATE EXTENSION unaccent;" "$dbname"