deploy-vps-both-cc

Community

Deploy OmniRoute to both VPS in one workflow

Authordiegosouzapw
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill solves the problem of reliably updating OmniRoute on multiple production servers without manual, error-prone steps, ensuring the correct version runs in both locations.

Core Features & Use Cases

  • One command flow for dual-server deployment: Builds and packages OmniRoute once, then copies the same artifact to both the Akamai VPS and the Local VPS.
  • Production restart via PM2: Reinstalls the packaged build globally, rebuilds the better-sqlite3 native dependency, and restarts the running omniroute process using the PM2 ecosystem config with environment updates.
  • Post-deploy health verification: Confirms both endpoints respond with expected HTTP status codes on the configured port.

Use case: After a new release, deploy the latest OmniRoute build to both 69.164.221.35 (Akamai VPS) and 192.168.0.15 (Local VPS) and verify each server is serving traffic on port 20128.

Quick Start

Run the workflow to build a deployable package locally, SCP it to both VPS hosts, install and restart OmniRoute with PM2, then verify both servers respond on port 20128.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: deploy-vps-both-cc
Download link: https://github.com/diegosouzapw/OmniRoute/archive/main.zip#deploy-vps-both-cc

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.