VIBN Frontend for Coolify deployment
This commit is contained in:
18
scripts/start-with-alloydb.sh
Executable file
18
scripts/start-with-alloydb.sh
Executable file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
# Start dev server with fresh AlloyDB access token
|
||||
|
||||
echo "🔑 Generating AlloyDB access token..."
|
||||
export ALLOYDB_PASSWORD=$(gcloud auth print-access-token)
|
||||
|
||||
if [ -z "$ALLOYDB_PASSWORD" ]; then
|
||||
echo "❌ Failed to generate access token"
|
||||
echo "Make sure you're logged in: gcloud auth login"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "✅ Token generated (expires in 1 hour)"
|
||||
echo "🚀 Starting dev server..."
|
||||
echo ""
|
||||
|
||||
npm run dev
|
||||
|
||||
Reference in New Issue
Block a user