Files
wehub-resource-sync d88fd01084
CI / test (3.10) (push) Failing after 1s
CI / test (3.12) (push) Failing after 0s
CI / skillgen-check (push) Failing after 0s
CI / security-scan (push) Failing after 0s
chore: import upstream snapshot with attribution
2026-07-13 12:09:14 +08:00

521 B

Deploy Guide

How to deploy the QuranicWords backend.

Prerequisites

  • Docker installed
  • SSH access to VPS

Full Deploy

Run this one-liner on your VPS:

cd /opt/QuranicWords && git pull origin main && docker compose build --no-cache api

Database Migration

If you changed the Prisma schema:

ALTER TABLE users ADD COLUMN points INT DEFAULT 0;

Rollback

Use git revert to undo bad deploys.

def rollback(version):
    subprocess.run(["git", "checkout", version])