Skip to content
Back to skills

Deployment Runtime

ASecurity

"Start Gerev from source or Docker, build the UI, and troubleshoot

  • 247 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 8, 2026
devopspythonbashsqlreactdockerapifrontendbackend

Works with

  • api

Security analysis

A100/100

Pro scans all 4 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill deployment-runtime --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Deployment Runtime?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Deployment Runtime
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-deployment-runtime/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-deployment-runtime)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: deployment-runtime
description: "Start Gerev from source or Docker, build the UI, and troubleshoot
  storage, boot, and deployment layout issues."
metadata:
  disco-role: operating
disable-model-invocation: true
license: MIT
---

# Gerev Deployment and Runtime

Use this sub-skill when the task is about running Gerev from source, starting the Docker/compose stack, building the UI bundle, or troubleshooting startup/storage/port behavior.

## Best-fit tasks

- Start Gerev locally from the backend source tree.
- Explain the Dockerfile, compose file, runtime ports, and storage mount.
- Build or serve the React UI bundle that the backend serves in production.
- Diagnose startup failures that happen before search or connector workflows can run.
- Understand where the backend stores SQLite, queue, Faiss, BM25, and telemetry files.

## Start here

1. Read [`deployment-runtime.md`](references/deployment-runtime.md) for the boot sequence, Docker/compose layout, storage paths, and UI build expectations.
2. Read [`troubleshooting.md`](references/troubleshooting.md) for startup, storage, model-cache, and UI-serving failures.
3. Read [`frontend-api.md`](../../references/frontend-api.md) when you need the backend route contract that the UI expects during boot and polling.
4. Run the bundled [`inspect_runtime_paths.py`](scripts/inspect_runtime_paths.py) read-only helper for a concise layout summary:

   ```bash
   python scripts/inspect_runtime_paths.py --app-dir <checkout>/app --json
   ```

   Add `--strict` when you want the helper to exit nonzero if required runtime files are missing.

## High-signal routing checks

- `run.sh` runs migrations and starts Uvicorn on port `80`.
- `Dockerfile` installs the backend dependencies, pre-caches the model stack, and copies the built UI into `/ui`.
- `docker-compose.yaml` mounts `~/.gerev/storage:/opt/storage` and shows the optional NVIDIA GPU reservation.
- `app/paths.py` selects `/opt/storage` in Docker-like mode and a home-directory storage tree otherwise.
- The current source tree has a known startup blocker in the search/index import chain: `split_PDF_into_paragraphs` is imported but missing.

## Boundaries

Included here: source startup, Docker/compose, UI build, storage layout, ports, and the boot-time service behavior that makes the app usable.

Do not use this sub-skill for connector credential setup or search ranking internals unless those details are needed only to explain startup/runtime behavior.

Files in this skill

  • SKILL.md2.4 KB
  • references/deployment-runtime.md2.3 KB
  • references/troubleshooting.md2 KB
  • scripts/inspect_runtime_paths.py4.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.