-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup-privy.sh
More file actions
executable file
·43 lines (38 loc) · 1.19 KB
/
setup-privy.sh
File metadata and controls
executable file
·43 lines (38 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/bin/bash
echo "🎮 Rugs.fun Casino - Privy Setup Script"
echo "========================================"
echo ""
# Check if .env.local exists
if [ ! -f ".env.local" ]; then
echo "📝 Creating .env.local from template..."
cp env.example .env.local
echo "✅ .env.local created"
else
echo "✅ .env.local already exists"
fi
echo ""
echo "🔑 Next Steps:"
echo "1. Go to https://console.privy.io/"
echo "2. Create a new app"
echo "3. Copy your App ID and App Secret"
echo "4. Update .env.local with your credentials:"
echo ""
echo " NEXT_PUBLIC_PRIVY_APP_ID=clt_your_app_id_here"
echo " PRIVY_APP_SECRET=prv_your_app_secret_here"
echo ""
# Check if Privy credentials are set
if grep -q "clt_your_app_id_here" .env.local; then
echo "⚠️ Please update your Privy credentials in .env.local"
echo " Current App ID: clt_your_app_id_here"
echo " Current App Secret: prv_your_app_secret_here"
else
echo "✅ Privy credentials appear to be configured"
fi
echo ""
echo "🚀 After updating credentials, run:"
echo " npm install"
echo " npx prisma db push"
echo " npm run dev:server"
echo " npm run dev"
echo ""
echo "📖 See PRIVY_SETUP.md for detailed instructions"