mirror of
https://git.joinplu.me/Plume/Plume.git
synced 2024-12-23 10:30:41 +00:00
23 lines
538 B
Bash
Executable file
23 lines
538 B
Bash
Executable file
#!/bin/bash
|
|
set -eo pipefail
|
|
|
|
export ROCKET_SECRET_KEY="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="
|
|
|
|
plm migration run
|
|
plm migration redo
|
|
plm search init
|
|
plm instance new -d plume-test.local -n plume-test
|
|
plm users new -n admin -N 'Admin' -e 'email@exemple.com' -p 'password'
|
|
|
|
plume &
|
|
caddy run -config /Caddyfile &
|
|
|
|
until curl http://localhost:7878/test/health -f; do sleep 1; done 2>/dev/null >/dev/null
|
|
|
|
source ../.venv/bin/activate
|
|
cd $(dirname $0)/browser_test/
|
|
python3 -m unittest *.py
|
|
|
|
kill -SIGINT %1
|
|
kill -SIGKILL %2
|
|
sleep 15
|