mirror of
https://github.com/twentyhq/twenty.git
synced 2024-12-18 17:12:53 +03:00
15 lines
361 B
Bash
Executable File
15 lines
361 B
Bash
Executable File
#!/bin/bash
|
|
|
|
graphql-engine serve &
|
|
|
|
while ! curl -s http://localhost:8080/healthz > /dev/null ; do
|
|
sleep 1
|
|
done
|
|
|
|
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 |