Home / Companies / Upsun / Blog / Post Details
Content Deep Dive

A quick-start guide on hosting Next.js on Upsun

Blog post from Upsun

Post Details
Company
Date Published
Author
Florent Huck
Word Count
2,004
Language
English
Hacker News Points
-
Summary

This guide provides a step-by-step approach to hosting a Next.js application on Upsun, a platform-as-a-service (PaaS), using the latest version of Next.js as of December 2023. The process begins with setting up a local Next.js project and initializing a Git repository, followed by creating a GitHub repository to host the source code. Users are instructed to configure their project with necessary YAML files using the Upsun CLI, and then push these configurations to GitHub for deployment. Once the GitHub integration is completed, the application is automatically deployed on Upsun. The guide also covers resource allocation and code updates, emphasizing best practices like testing changes in a new Git branch before deploying to production. It highlights features such as automatic deployment, resource configuration, and environment management, providing users with comprehensive instructions for managing their projects effectively on Upsun.