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