Skip to main content
Deploy and manage your Zeplo server instance. These commands handle first-time server setup, pushing new code, viewing logs, and restarting the server.

zeplo deploy setup

Run the first-time setup wizard for your Zeplo server. This command configures your server environment, installs dependencies, sets up PM2 as the process manager, and initializes the database connection. Run this once when provisioning a new server.

Options

Examples

zeplo deploy push

Deploy the latest version of your Zeplo project to the configured server. This command builds your project locally, transfers the build artifacts to the server via SSH, and restarts the Zeplo process through PM2.

Options

Examples

zeplo deploy logs

Display logs from the Zeplo server managed by PM2. By default, this shows the most recent log entries. Use the --follow flag to stream logs in real time.

Options

Examples

zeplo deploy restart

Restart the Zeplo server process via PM2. This performs a graceful restart: PM2 sends a SIGINT to the current process, waits for it to shut down, and then starts a fresh instance.

Options

Examples