Upsun User Documentation

Create a project

Sign up

Get your free trial by clicking the link below.

Get your Upsun free trial

To create a new project on Upsun, you can take one of two paths:

Using the Console (recommended)

Open the Upsun management console to create your project.

Create project options

From the Console, what you do next entirely depends on where the “source of truth” of your codebase is located. In this guide, you will push your local repository to Upsun. That is, the only copy of your codebase you’d like to deploy is on your local computer.

Click Start from scratch from the Deploy with Git option.

Add details about your project, such as:

  • The name of your project.
  • The default branch of your local repository.
  • Select the region where you want your project to be hosted.

As suggested in the Console, connect the local copy of your repository to your project:

upsun project:set-remote PROJECT_ID

Your local source code is automatically linked to your newly created Upsun project through the creation of a .upsun/local/project.yaml file. This file contains the corresponding <projectId> and sets a Git remote to upsun.

Using the CLI

To create a new project with the Upsun CLI, use the following command and follow the prompts:

Terminal
upsun project:create

Then, you are asked if you want to set the local remote to your new project. Enter Yes (y).

Your local source code is automatically linked to your newly created Upsun project through the creation of a .upsun/local/project.yaml file. This file contains the corresponding <projectId> and sets a Git remote to upsun.

In this guide, you will push your local repository to Upsun. That is, the only copy of your codebase you’d like to deploy is on your local computer.

So long as you chose y (yes) to the question Set the new project <projectName> as the remote for this repository? during the project:create command, your local project is already integrated to the Upsun project.

Is this page helpful?