* Remove hasura and hasura-auth * Move all models to prisma * Start implementing graphql * chore: clean package json * chore: make the code build * chore: get initial graphql.tsx file * feature: use typegql as qgl server * refactor: small refactoring * refactor: clean tests * bugfix: make all filters not case sensitive * chore: remove unused imports --------- Co-authored-by: Sammy Teillet <sammy.teillet@gmail.com>
19 lines
324 B
Bash
Executable File
19 lines
324 B
Bash
Executable File
#!/bin/bash
|
|
|
|
cd "$(dirname "$0")/../infra/dev"
|
|
|
|
cp .env.example .env
|
|
|
|
set -o allexport; source .env; set +o allexport
|
|
|
|
docker-compose up -d postgres
|
|
|
|
while ! pg_isready -h localhost > /dev/null ; do
|
|
echo "Waiting for Postgres to be ready..."
|
|
sleep 1
|
|
done
|
|
|
|
echo "Postgres is accepting connections!"
|
|
|
|
docker-compose up -d
|