Local development
Back to home
On this page
Once Your Next.js application has been deployed on Upsun, you might want to start developing your application locally.
If you’re new to Upsun, you might want to check out the philosophy of Upsun to get started on the best possible footing.
Before you begin
You need:
- Git. Git is the primary tool to manage everything your app needs to run. Push commits to deploy changes and control configuration through YAML files. These files describe your infrastructure, making it transparent and version-controlled.
- A Upsun account. If you don’t already have one, register for a trial account. You can sign up with an email address or an existing GitHub, Bitbucket, or Google account. If you choose one of these accounts, you can set a password for your Upsun account later.
- Required: the Upsun CLI. This lets you interact with your project from the command line. You can also do most things through the Web Console, but this guide focuses on using the CLI.
- Install node CLI (version >= 18.x)
Launch your local Next.js application
To run your Express application locally, use the following command:
Terminal
npm run devAnd then open your favorite browser on http://localhost:3000.