Getting started

Quickstart

Go from zero to a running deploy in five steps. This guide assumes you have a NuPaaS account and a Git repository with your application code.

1

Install the CLI

Install the NuPaaS CLI globally using npm. The CLI is the fastest way to manage projects, deploys, and databases from your terminal.

Install the CLI
npm install -g @type-driven/platform-cli   --registry https://gitea.nupaas.com/api/packages/type-driven/npm/
2

Sign in

Authenticate with your NuPaaS account. This opens your browser for a secure login flow and stores a session token locally.

Sign in
platform login
3

Connect your Git repository

NuPaaS deploys from Git. Connect your repository by navigating to your project directory. The CLI detects your Git remote and links it to NuPaaS so that pushes trigger automatic builds.

4

Create a project

Create a new project in your organization. This sets up the build pipeline and provisions a production environment.

Create a project
platform projects create --name my-app --repo-url https://gitea.nupaas.com/type-driven/my-app.git
5

Deploy

Trigger your first deploy. NuPaaS detects your application framework, builds a container image, and rolls it out to your production environment.

Deploy
platform deploy create --project <project-id> --branch main --wait

The CLI streams build logs in real time. Once the deploy completes, you will see a live URL where your application is running. Subsequent deploys happen automatically when you push to your linked Git branch.

Next steps

Now that your application is running, explore these guides: