feat: production-ready dashboard with proper auth persistence
- Add dashboard UI showing connection status, webhooks, and email config - Fix FileAPL to use fileName param for persistent /data volume storage - Configure production domains and webhooks - Add dev tunnel script for local testing - Update Dockerfile and build config for K3s deployment The app is now successfully installed and running at: https://core-extensions.manoonoils.com
This commit is contained in:
Executable
+39
@@ -0,0 +1,39 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Start local dev server with tunnel for rapid Saleor app development
|
||||
|
||||
echo "🚀 Starting Saleor Core Extensions with tunnel..."
|
||||
echo ""
|
||||
|
||||
# Check if localtunnel is installed
|
||||
if ! command -v lt &> /dev/null; then
|
||||
echo "❌ localtunnel not found. Installing..."
|
||||
npm install -g localtunnel
|
||||
fi
|
||||
|
||||
# Start localtunnel in background and capture URL
|
||||
lt --port 3000 --print-requests &
|
||||
TUNNEL_PID=$!
|
||||
|
||||
# Wait for tunnel to establish
|
||||
sleep 3
|
||||
|
||||
# Get the tunnel URL (this is a simple approach, in reality we'd parse the output)
|
||||
echo ""
|
||||
echo "⏳ Waiting for tunnel to start..."
|
||||
sleep 2
|
||||
|
||||
echo ""
|
||||
echo "✅ Tunnel started!"
|
||||
echo ""
|
||||
echo "📝 Use this URL in Saleor Dashboard:"
|
||||
echo " https://YOUR_TUNNEL_URL.loca.lt/api/manifest"
|
||||
echo ""
|
||||
echo "🔧 Starting Next.js dev server..."
|
||||
echo ""
|
||||
|
||||
# Kill tunnel on exit
|
||||
trap "kill $TUNNEL_PID 2>/dev/null; exit" INT TERM EXIT
|
||||
|
||||
# Start dev server
|
||||
npm run dev
|
||||
Reference in New Issue
Block a user