everything

This commit is contained in:
tumillanino
2025-10-28 14:48:44 +11:00
parent 788b46a5ea
commit d5818bcf13
10 changed files with 1060 additions and 0 deletions

18
start-tunnel.sh Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
# Load environment variables
if [ -f .env ]; then
export $(cat .env | grep -v '^#' | xargs)
fi
# Check if ORY_PROJECT_SLUG is set
if [ -z "$ORY_PROJECT_SLUG" ]; then
echo "Error: ORY_PROJECT_SLUG not found in .env file"
exit 1
fi
echo "Starting Ory tunnel for project: $ORY_PROJECT_SLUG"
echo "Tunnel will be available at: http://localhost:${TUNNEL_PORT:-4000}"
echo ""
npx @ory/cli tunnel --dev --project "$ORY_PROJECT_SLUG" http://localhost:${PORT:-3000}