Documentation

Projects

A project is one site or app. It owns its deployments, environment variables, domains and settings.

Creating a project

There are three ways to make one:

  • Import a GitHub repository from New project in the dashboard. The project is linked to the repository, so pushes deploy automatically. See Git deployments.
  • Start from a template. Pick a template, choose a name and whether the new repository is private, and Vantrex creates the repository in your GitHub account, copies the template into it and deploys it.
  • Run vtx link in a folder to create a project that you deploy from the CLI.

The project name is free text. The slug is derived from it, becomes part of every deployment address and cannot be changed later.

The project pages

PageWhat it is for
OverviewThe production address, the latest deployment and recent activity.
DeploymentsEvery deployment with its status, branch and address. Open one for its logs, or promote, redeploy or cancel it.
Runtime LogsWhat a running server app prints. See Logs and observability.
Environment VariablesValues for builds and servers. See Environment variables.
DomainsCustom domains for the project. See Domains.
SettingsBuild settings, the preview suffix, pausing and deletion.

Settings

Most projects need no changes because Vantrex detects the framework. When you do need them:

SettingMeaning
Framework presetOverrides detection. See Frameworks and builds.
Node.js versionThe Node version used to install and build.
Install commandFor example npm ci. Leave blank to use the default for your lockfile.
Build commandFor example npm run build.
Output directoryThe folder the build writes to, for example dist.
Root directoryA sub-folder of the repository, for monorepos. Everything is run from there.
Preview suffixAn optional addition to preview addresses.

Changes apply to the next deployment. Existing deployments are never altered.

Pausing a project

Pausing takes the project offline without deleting anything. Visitors see a plain “paused” page until you resume it. Use it to stop traffic while you investigate a problem.

Deleting a project

Deleting a project removes its deployments, environment variables and domains. It cannot be undone, so the dashboard asks you to confirm first.