Quickstart

This guide walks you through the core workflow: register, create a project, initialize a server, and deploy an app.

1. Create an Account

ops register

You'll be prompted for a username and password (8+ characters).

2. Log In

ops login

Your JWT token is saved to ~/.config/ops/credentials.json.

3. Create a Project

ops project create my-project

4. Initialize a Server

SSH into your server and run:

ops init

This:

  • Registers the server as a node in OPS

  • Assigns a domain: <node-id>.node.ops.autos

  • Configures SSH access with CI keys

  • Installs the ops serve daemon as a systemd service

You can specify a region:

5. Bind the Node to an App

This binds the node to the api app under my-project.

6. Deploy

Create an ops.toml in your project root:

Then deploy:

OPS will:

  1. Sync code via git (clone or pull)

  2. Upload env files

  3. Run docker compose build && docker compose up -d

  4. Configure nginx reverse proxy

  5. Set up SSL via certbot

  6. Run health checks

7. Check Status

Next Steps

Last updated