chore: remove absolute paths from docs and scripts

This commit is contained in:
Jesús Pérez 2026-01-24 02:15:31 +00:00
parent cc55b97678
commit 7b60982444
Signed by: jesus
GPG Key ID: 9F243E355E0BC939
10 changed files with 20 additions and 18 deletions

View File

@ -261,7 +261,6 @@ mod tests {
#[test]
fn test_workflow_instance_response_conversion() {
use chrono::Utc;
use vapora_workflow_engine::config::{StageConfig, WorkflowConfig};
let config = WorkflowConfig {

View File

@ -15,7 +15,8 @@ crate-type = ["rlib"]
vapora-shared = { workspace = true }
# Embeddings
stratum-embeddings = { path = "/Users/Akasha/Development/stratumiops/crates/stratum-embeddings", features = ["vapora"] }
# Note: Update STRATUM_EMBEDDINGS_PATH environment variable or adjust path relative to your workspace
stratum-embeddings = { path = "../../../stratumiops/crates/stratum-embeddings", features = ["vapora"] }
# Secrets management
secretumvault = { workspace = true }

View File

@ -146,7 +146,7 @@ pub struct TrackingEntry {
1. **Start tracking service**:
```bash
cd /Users/Akasha/Development/vapora
# From repository root
cargo run -p vapora-backend -- --enable-tracking
```

View File

@ -18,8 +18,7 @@ All Dockerfiles are located here and reference the root workspace. Build command
### Build All Images
```bash
cd /Users/Akasha/Development/vapora
# From repository root
# Backend
docker build -f docker/vapora-backend.Dockerfile -t vapora-backend:latest .

View File

@ -83,7 +83,7 @@ cargo install mdbook
### Build the documentation
```bash
cd /Users/Akasha/Development/vapora/docs
cd docs
mdbook build
```
@ -92,7 +92,7 @@ Output will be in `docs/book/` directory (7.4 MB).
### Serve locally for development
```bash
cd /Users/Akasha/Development/vapora/docs
cd docs
mdbook serve
```
@ -103,7 +103,7 @@ Changes to markdown files will automatically rebuild the documentation.
### Clean build output
```bash
cd /Users/Akasha/Development/vapora/docs
cd docs
mdbook clean
```
@ -307,7 +307,7 @@ jobs:
**Confirm successful setup:**
```bash
cd /Users/Akasha/Development/vapora/docs
cd docs
# Build test
mdbook build

View File

@ -118,7 +118,7 @@ let gemini_key = client.get_secret("llm/gemini-api-key").await?;
```bash
# Terminal 1: Start SecretumVault server
cd /Users/Akasha/Development/secretumvault
cd ../secretumvault # Adjust path to your secretumvault installation
cargo run --bin secretumvault-server --features server,surrealdb-storage
# Terminal 2: Initialize with default policies

View File

@ -6,7 +6,7 @@ Integration documentation for deploying VAPORA v1.0 using Provisioning.
VAPORA can be deployed using **Provisioning**, a Rust-based infrastructure-as-code platform that manages Kubernetes clusters, services, and workflows.
The Provisioning workspace is located at: `/Users/Akasha/Development/vapora/provisioning/vapora-wrksp/`
The Provisioning workspace is located at: `provisioning/vapora-wrksp/` (relative to repository root)
## Provisioning Workspace Structure
@ -218,8 +218,7 @@ provisioning health-check --all
### Using Vanilla K8s (Manual)
```bash
# Use vanilla K8s manifests
cd /Users/Akasha/Development/vapora
# Use vanilla K8s manifests (from repository root)
nu scripts/deploy-k8s.nu
```

View File

@ -23,7 +23,7 @@ User Input → typedialog Forms → Config Generation → Deployment
Start with the interactive form to generate customized configuration:
```bash
cd /Users/Akasha/Development/vapora/provisioning
cd provisioning # From repository root
# Run interactive setup wizard
typedialog \

View File

@ -5,7 +5,7 @@
def main [
--port: int = 3000 # Server port
--database: string = "sqlite://tracking.db" # Database URL
--watch-dirs: string = "/Users/Akasha/Development" # Projects to watch
--watch-dirs: string = "." # Projects to watch (default: current directory)
--verbose = false
]: void {
if $verbose {
@ -34,7 +34,9 @@ def main [
# Start the service in background
# Rule 17: Expression interpolation
let command = $"cd /Users/Akasha/Development/vapora && cargo run -p vapora-backend --release -- --tracking-port ($port) --tracking-database ($database)"
# Assumes script is run from repository root or VAPORA_ROOT env var is set
let vapora-root = ($env.VAPORA_ROOT? | default $env.PWD)
let command = $"cd ($vapora-root) && cargo run -p vapora-backend --release -- --tracking-port ($port) --tracking-database ($database)"
# Start in background with output redirection
let result = (
@ -92,9 +94,11 @@ def validate-environment []: void {
}
}
if not ("/Users/Akasha/Development/vapora" | path exists) {
# Check for Cargo.toml to validate we're in a Rust workspace
let vapora-root = ($env.VAPORA_ROOT? | default $env.PWD)
if not ($"($vapora-root)/Cargo.toml" | path exists) {
error make {
msg: "❌ Vapora directory not found at /Users/Akasha/Development/vapora"
msg: $"❌ Vapora workspace not found. Set VAPORA_ROOT env var or run from repository root. Current: ($vapora-root)"
}
}
}