mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-18 09:02:11 +03:00
571cb6ed5c
Co-authored-by: Charles Bochet <charles@twenty.com>
19 lines
454 B
Bash
Executable File
19 lines
454 B
Bash
Executable File
#!/bin/bash
|
|
|
|
graphql-engine serve &
|
|
echo "Waiting for Hasura to be ready..."
|
|
|
|
while ! curl -s http://localhost:8080/healthz > /dev/null ; do
|
|
sleep 1
|
|
echo "Waiting for Hasura to be ready..."
|
|
done
|
|
|
|
sleep 1
|
|
|
|
hasura deploy
|
|
|
|
socat TCP-LISTEN:9695,fork,reuseaddr,bind=twenty-hasura TCP:127.0.0.1:9695 &
|
|
socat TCP-LISTEN:9693,fork,reuseaddr,bind=twenty-hasura TCP:127.0.0.1:9693 &
|
|
hasura console --log-level DEBUG --address "127.0.0.1" --no-browser &
|
|
|
|
wait |