You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1.8 KiB
1.8 KiB
Quick Start - Deploy to DigitalOcean
Time to deploy: ~10 minutes
Before You Start
Gather these items:
- GitHub repository URL
- Turso database URL and auth token (Get from Turso)
- YouTube API key (Get from Google)
- Admin username and password (you choose these)
Deploy in 4 Steps
1. Update Configuration (2 minutes)
Edit .do/app.yaml and replace YOUR_GITHUB_USERNAME/kiddos with your actual GitHub repo:
github:
repo: johndoe/kiddos # <-- Change this
branch: main
2. Push to GitHub (1 minute)
git add .
git commit -m "Add DigitalOcean deployment config"
git push origin main
3. Create App on DigitalOcean (5 minutes)
- Go to https://cloud.digitalocean.com/apps
- Click "Create App"
- Select GitHub and authorize
- Select your
kiddosrepository - Choose
mainbranch - DigitalOcean detects
.do/app.yaml✨ - Click "Next"
4. Add Environment Variables (2 minutes)
Fill in these required values:
TURSO_URL = libsql://your-database.turso.io
TURSO_AUTH_TOKEN = your-token-here
YOUTUBE_API_KEY = your-youtube-api-key
JWT_SECRET = (generate with: openssl rand -base64 32)
JWT_REFRESH_SECRET = (generate with: openssl rand -base64 32)
INITIAL_ADMIN_USERNAME = admin
INITIAL_ADMIN_PASSWORD = your-secure-password
Click "Create Resources" and wait for deployment!
After Deployment
- Visit your app URL (shown in DigitalOcean)
- Login with your admin credentials
- Add YouTube channels in the admin panel
- Done! 🎉
Need Help?
See DEPLOYMENT.md for detailed instructions and troubleshooting.
Cost
- $5/month for backend
- FREE for frontend
- FREE for database (Turso free tier)
Total: $5/month