cd bird-law-app
git init
git add .
git commit -m "Initial commit: Bird Law app"
git branch -M main
git remote add origin <your-github-repo-url>
git push -u origin main- Go to vercel.com
- Sign in with GitHub
- Click "Add New Project"
- Select your
bird-law-apprepository - Click "Import"
Vercel will automatically detect Next.js settings. Just click "Deploy"!
Your app will be live at: https://your-project-name.vercel.app
To display GIFs from It's Always Sunny:
- Get a free API key from developers.giphy.com
- In Vercel project settings, go to Environment Variables
- Add:
- Key:
NEXT_PUBLIC_GIPHY_API_KEY - Value: Your API key
- Key:
- Redeploy (Vercel will automatically redeploy)
# Install Vercel CLI
npm i -g vercel
# Login
vercel login
# Deploy
cd bird-law-app
vercel
# Follow the prompts- In Vercel project settings, go to Domains
- Add your custom domain
- Update your DNS records as instructed
- Wait for SSL certificate (automatic)
| Variable | Required | Description |
|---|---|---|
NEXT_PUBLIC_GIPHY_API_KEY |
No | Giphy API key for GIF gallery |
- Check that all dependencies are in
package.json - Ensure TypeScript types are correct
- Check build logs in Vercel dashboard
- Verify API key is set in environment variables
- Check that the key is prefixed with
NEXT_PUBLIC_ - Redeploy after adding environment variables
- Ensure Tailwind CSS is properly configured
- Check that
globals.cssis imported inlayout.tsx - Clear build cache and redeploy
After deployment, you can:
- View deployment logs
- Set up automatic deployments on git push
- Add collaborators
- Monitor analytics
- Set up custom redirects
Your Bird Law app is now live! 🦅⚖️
"I'm well versed in bird law." - Charlie Kelly