Skip to main content

Two project types

Pxxl picks the type from your code. A server framework or a start command means Web Service. HTML or a static framework means Static App. Docker and WordPress sources are always Web Services.

Build settings

Pxxl detects these and shows them before you deploy. Change any of them in the form or in pxxl.toml.
Pxxl build configuration screen with project setup, services, Node version and environment variables.

What happens on deploy

1

Source

Pxxl clones the commit, or receives your upload or image.
2

Build

It runs the install and build commands in an isolated builder and streams the log.
3

Publish

A Static App is uploaded to the edge as a new release. A Web Service starts in a container.
4

Health check

A Web Service must answer on its port before it gets traffic.
5

Live

Traffic moves to the new version. The old one keeps running until then, so there’s no downtime.

When a deploy fails

Your current version stays online. Open the failed deployment and read the first error in the log. The usual causes:
  • A missing environment variable.
  • The wrong base directory.
  • The wrong package manager (check your lockfile).
  • A build command that fails.
  • A start command that exits right away.
  • The app listens on a different port, or on 127.0.0.1 instead of 0.0.0.0.
Fix it, push again or choose Redeploy. More fixes: Deployment troubleshooting.

Ignore files

Add a .pxxlignore file to keep files out of CLI uploads. It works like .gitignore. See .pxxlignore.