chore: remove absolute paths from docs and scripts
This commit is contained in:
parent
cc55b97678
commit
7b60982444
@ -261,7 +261,6 @@ mod tests {
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_workflow_instance_response_conversion() {
|
fn test_workflow_instance_response_conversion() {
|
||||||
use chrono::Utc;
|
|
||||||
use vapora_workflow_engine::config::{StageConfig, WorkflowConfig};
|
use vapora_workflow_engine::config::{StageConfig, WorkflowConfig};
|
||||||
|
|
||||||
let config = WorkflowConfig {
|
let config = WorkflowConfig {
|
||||||
|
|||||||
@ -15,7 +15,8 @@ crate-type = ["rlib"]
|
|||||||
vapora-shared = { workspace = true }
|
vapora-shared = { workspace = true }
|
||||||
|
|
||||||
# Embeddings
|
# 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
|
# Secrets management
|
||||||
secretumvault = { workspace = true }
|
secretumvault = { workspace = true }
|
||||||
|
|||||||
@ -146,7 +146,7 @@ pub struct TrackingEntry {
|
|||||||
|
|
||||||
1. **Start tracking service**:
|
1. **Start tracking service**:
|
||||||
```bash
|
```bash
|
||||||
cd /Users/Akasha/Development/vapora
|
# From repository root
|
||||||
cargo run -p vapora-backend -- --enable-tracking
|
cargo run -p vapora-backend -- --enable-tracking
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@ -18,8 +18,7 @@ All Dockerfiles are located here and reference the root workspace. Build command
|
|||||||
### Build All Images
|
### Build All Images
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd /Users/Akasha/Development/vapora
|
# From repository root
|
||||||
|
|
||||||
# Backend
|
# Backend
|
||||||
docker build -f docker/vapora-backend.Dockerfile -t vapora-backend:latest .
|
docker build -f docker/vapora-backend.Dockerfile -t vapora-backend:latest .
|
||||||
|
|
||||||
|
|||||||
@ -83,7 +83,7 @@ cargo install mdbook
|
|||||||
### Build the documentation
|
### Build the documentation
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd /Users/Akasha/Development/vapora/docs
|
cd docs
|
||||||
mdbook build
|
mdbook build
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -92,7 +92,7 @@ Output will be in `docs/book/` directory (7.4 MB).
|
|||||||
### Serve locally for development
|
### Serve locally for development
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd /Users/Akasha/Development/vapora/docs
|
cd docs
|
||||||
mdbook serve
|
mdbook serve
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -103,7 +103,7 @@ Changes to markdown files will automatically rebuild the documentation.
|
|||||||
### Clean build output
|
### Clean build output
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd /Users/Akasha/Development/vapora/docs
|
cd docs
|
||||||
mdbook clean
|
mdbook clean
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -307,7 +307,7 @@ jobs:
|
|||||||
**Confirm successful setup:**
|
**Confirm successful setup:**
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd /Users/Akasha/Development/vapora/docs
|
cd docs
|
||||||
|
|
||||||
# Build test
|
# Build test
|
||||||
mdbook build
|
mdbook build
|
||||||
|
|||||||
@ -118,7 +118,7 @@ let gemini_key = client.get_secret("llm/gemini-api-key").await?;
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Terminal 1: Start SecretumVault server
|
# 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
|
cargo run --bin secretumvault-server --features server,surrealdb-storage
|
||||||
|
|
||||||
# Terminal 2: Initialize with default policies
|
# Terminal 2: Initialize with default policies
|
||||||
|
|||||||
@ -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.
|
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
|
## Provisioning Workspace Structure
|
||||||
|
|
||||||
@ -218,8 +218,7 @@ provisioning health-check --all
|
|||||||
### Using Vanilla K8s (Manual)
|
### Using Vanilla K8s (Manual)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
# Use vanilla K8s manifests
|
# Use vanilla K8s manifests (from repository root)
|
||||||
cd /Users/Akasha/Development/vapora
|
|
||||||
nu scripts/deploy-k8s.nu
|
nu scripts/deploy-k8s.nu
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
@ -23,7 +23,7 @@ User Input → typedialog Forms → Config Generation → Deployment
|
|||||||
Start with the interactive form to generate customized configuration:
|
Start with the interactive form to generate customized configuration:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd /Users/Akasha/Development/vapora/provisioning
|
cd provisioning # From repository root
|
||||||
|
|
||||||
# Run interactive setup wizard
|
# Run interactive setup wizard
|
||||||
typedialog \
|
typedialog \
|
||||||
|
|||||||
@ -5,7 +5,7 @@
|
|||||||
def main [
|
def main [
|
||||||
--port: int = 3000 # Server port
|
--port: int = 3000 # Server port
|
||||||
--database: string = "sqlite://tracking.db" # Database URL
|
--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
|
--verbose = false
|
||||||
]: void {
|
]: void {
|
||||||
if $verbose {
|
if $verbose {
|
||||||
@ -34,7 +34,9 @@ def main [
|
|||||||
|
|
||||||
# Start the service in background
|
# Start the service in background
|
||||||
# Rule 17: Expression interpolation
|
# 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
|
# Start in background with output redirection
|
||||||
let result = (
|
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 {
|
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)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user