From ee2309f59e42c99435dc63b7f8ef9347875a15a4 Mon Sep 17 00:00:00 2001 From: Furkan Bilgin Date: Mon, 2 Sep 2024 20:18:33 +0300 Subject: [PATCH] fix(frontend): remove `console.log` --- packages/frontend/app/routes/peers.$peerId.tsx | 1 - run.sh | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100755 run.sh diff --git a/packages/frontend/app/routes/peers.$peerId.tsx b/packages/frontend/app/routes/peers.$peerId.tsx index ae7eb4390f..1aff0aeeec 100644 --- a/packages/frontend/app/routes/peers.$peerId.tsx +++ b/packages/frontend/app/routes/peers.$peerId.tsx @@ -441,7 +441,6 @@ export async function action({ request }: ActionFunctionArgs) { result.error.flatten().fieldErrors return json({ ...actionResponse }, { status: 400 }) } - console.log(result.data.incomingAuthTokens) const response = await updatePeer({ id: result.data.id, http: { diff --git a/run.sh b/run.sh new file mode 100755 index 0000000000..e0fd008f0d --- /dev/null +++ b/run.sh @@ -0,0 +1,16 @@ +#!/bin/bash +set -e + +echo --- Generating GraphQL types --- +pnpm --filter backend generate +echo --- Stopping Docker compose --- +pnpm localenv:compose down + +echo --- Building rafiki-backend --- +sudo docker image rm rafiki-backend +sudo docker build -f ./packages/backend/Dockerfile.dev -t rafiki-backend . + +cd localenv + +echo --- Starting Docker compose --- +pnpm localenv:compose up -d \ No newline at end of file