Using Rift

Everyday usage

Run these commands from the project or worktree you want to manage. Each one acts on that copy only, and leaves every other copy running.


The commands you will use most

rift up
rift down
rift status
rift doctor
rift dash
CommandWhat it does
rift upStart this copy of the app and serve it at its own HTTPS domain.
rift downStop this copy and remove its route. Other copies keep running.
rift statusList every app the router is serving right now.
rift doctorDiagnose problems with this machine's setup and this project.
rift dashWatch and manage every copy of every project in one view.

Every command is described in full in the command reference.


rift setup or rift up?

Both start your app. The difference is whether .env is written first:

  • rift setup writes this copy's .env, then runs rift up. Use it for a new worktree, or after changing settings in rift.yaml that need to be written to .env.
  • rift up starts a copy that is already prepared.

Seeing more output

By default, Rift shows each step it takes and sends the output of the commands it runs, such as Docker, to a log file. When a step fails, Rift prints that log's path.

To see that output as it happens, add -v to any command:

rift up -v

Next steps

Previous
Quick start