# Deploy Next.js to Render This is a Next.js template which can be deployed to [Render](https://render.com). ## Deploying to Render This template can be used to deploy your Next.js application as a Node.js server. ### Deploy in one click 1. Fork this repo. 1. In your new repo, click the button below. Deploy to Render Note: The button uses the `render.yaml` file in this repo to deploy your app. For more information about `render.yaml`, see [Render's guide](https://docs.render.com/infrastructure-as-code). ### Deploy manually 1. Fork this repo. 1. Create a new Web Service on Render. 1. Give Render permission to access your new repo. 1. Use the following values during Web Service creation. - Runtime: Node - Build Command: `pnpm install; pnpm build` - Start Command: `pnpm start` ## Learn More To learn more about deploying Next.js, take a look at the following resources: - [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying#self-hosting) - [Deploying Next.js on Render](https://docs.render.com/deploy-nextjs-app) To learn more about Next.js, take a look at the following resources: - [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. - [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!