AppFlowy-Cloud/script/init_gotrue.sh
Nathan.fooo 80d46a2e3c
chore: Clean redis update script (#581)
* chore: rename folder

* chore: add script to remove redis stream

* chore: add script to remove redis stream

* chore: fix ci
2024-05-27 16:48:13 +08:00

16 lines
270 B
Bash
Executable file

#!/usr/bin/env bash
cd "$(dirname "$0")"
set -e
git clone https://github.com/supabase/gotrue.git
cp gotrue.env.docker gotrue/.env.docker
cd gotrue
make dev &
while true; do
curl localhost:9999/health && break
echo "waiting for gotrue to be ready..."
sleep 1
done