Skip to main content
If your project is in a git repository with a remote, three commands take it from your laptop to a running app on your server:
up reads the directory, works out how to build it, creates the app, creates and connects the database, builds from your git remote and prints the app’s URL. Push your code to the remote first: the server builds from git, not from your working copy. Before it creates anything, up asks the remote whether your branch is there at your latest commit. If not, it stops, names the branch and prints the fix, git push -u origin <branch>. Pass --allow-unpushed to build what the remote has anyway. When the check cannot run (no git, a detached HEAD, an unreachable remote), up warns and continues. up then follows the first deploy and exits when the app is healthy: 0 healthy, 7 not healthy (the failure reason is printed), 6 still running when --timeout ran out (default 15m, the deploy keeps going). A new domain’s certificate may still be pending; up says so. Pass --no-wait to return as soon as the build is started and follow it yourself with levelrail-cli apps deploys wait.

What up infers

Each value comes from the first of these that has one: a flag, your app spec (app.yaml), detection, a default. up prints every value with where it came from, so you know what to change. A Node project without a Dockerfile works: it builds with Railpack. A project in a subdirectory of a monorepo (levelrail-cli up apps/web) builds from that subdirectory.

See the plan first

--dry-run prints what was inferred and the exact commands up runs, and changes nothing:
This output comes from a sample Node.js project with a main branch pushed to GitHub:
On a terminal, up asks for confirmation before it changes anything. Pass --yes in scripts.

Run it again

up is safe to repeat. A second run finds the app, database, connection and domain it already made, changes only settings that differ from what you asked for, and rebuilds from your latest push. Nothing is created twice. If a step fails partway, up stops and says what to run next. For example, if the database exists but connecting it fails, no build starts, and the message names levelrail-cli apps connect and says re-running up is safe.

If this fails

If the build itself fails, the app still exists. Run levelrail-cli apps diagnose shop for the likely cause, and see Deploy failures for each failure code.

Advanced flags

For anything up does not cover, use the commands it expands to: apps create, apps scale, apps connect, apps domains add. An app.yaml in the project replaces detection, and flags still override it.

Day to day

rollback without --image goes back to the previous successful deploy. backup uses your only backup target when there is exactly one. Run levelrail-cli help for the everyday verbs and levelrail-cli help advanced for the rest. See the CLI reference for every command and the getting started guide for the server install.
Last modified on October 30, 2026