mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Begin advanced search
This commit is contained in:
parent
7279b45581
commit
57c36b277e
38 changed files with 584 additions and 247 deletions
|
@ -3,10 +3,14 @@
|
|||
set -eu
|
||||
|
||||
for i in $(seq 1 6); do
|
||||
dropdb --if-exists "peertube_test$i"
|
||||
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"
|
||||
createdb -O peertube "peertube_test$i"
|
||||
createdb -O peertube "$dbname"
|
||||
psql -c "CREATE EXTENSION pg_trgm;" "$dbname"
|
||||
psql -c "CREATE EXTENSION unaccent;" "$dbname"
|
||||
redis-cli KEYS "bull-localhost:900$i*" | grep -v empty | xargs --no-run-if-empty redis-cli DEL
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue