2019-04-06 17:41:57 +02:00
|
|
|
#!/bin/bash
|
|
|
|
set -eo pipefail
|
|
|
|
|
|
|
|
export ROCKET_SECRET_KEY="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="
|
|
|
|
|
2019-05-04 15:35:21 +02:00
|
|
|
plm migration run
|
|
|
|
plm migration redo
|
2019-12-16 20:22:46 +01:00
|
|
|
plm search init
|
2019-05-04 15:35:21 +02:00
|
|
|
plm instance new -d plume-test.local -n plume-test
|
|
|
|
plm users new -n admin -N 'Admin' -e 'email@exemple.com' -p 'password'
|
2019-04-06 17:41:57 +02:00
|
|
|
|
2019-05-04 15:35:21 +02:00
|
|
|
plume &
|
2023-01-05 16:59:00 +01:00
|
|
|
caddy run --config /Caddyfile &
|
2019-04-06 17:41:57 +02:00
|
|
|
|
|
|
|
until curl http://localhost:7878/test/health -f; do sleep 1; done 2>/dev/null >/dev/null
|
|
|
|
|
|
|
|
cd $(dirname $0)/browser_test/
|
|
|
|
python3 -m unittest *.py
|
|
|
|
|
|
|
|
kill -SIGINT %1
|
|
|
|
kill -SIGKILL %2
|
2019-05-04 15:35:21 +02:00
|
|
|
sleep 15
|