This guide will help you deploy the UwUlarpy Next.js application to Vercel without encountering dependency errors.
- A GitHub account
- A Vercel account linked to your GitHub
- A GitHub App for webhook processing (if you plan to use the webhook functionality)
- Log in to your Vercel account
- Click "Add New..." → "Project"
- Select the "uwularpy" repository
- Vercel will automatically detect it as a Next.js project
- Click "Deploy"
For the webhook functionality to work properly, you need to add these environment variables in Vercel:
- Go to your project settings in Vercel
- Navigate to "Environment Variables"
- Add the following variables:
APP_ID: Your GitHub App IDPRIVATE_KEY: Your GitHub App private key (include BEGIN/END lines)WEBHOOK_SECRET: Your GitHub webhook secret
- Go to your GitHub App settings
- Update the webhook URL to point to your Vercel deployment:
https://your-vercel-deployment.vercel.app/api/webhook
If you encounter any issues:
- Check Vercel build logs for errors
- Verify that all environment variables are correctly set
- Ensure your GitHub App has the necessary permissions:
- Repository contents: Read & write
- Issues: Read & write
- Create an issue in a repository where your GitHub App is installed
- Add a comment mentioning "@uwularpy"
- You should see an immediate reply and a new PR with uwuified content