feat: initial commit - Jhonny Editor
- Adicionado estrutura completa do projeto - Configurado MCP server para Premiere Pro - Adicionado documentação e skills - Configurado Gitignore para o projeto
This commit is contained in:
Executable
+20
@@ -0,0 +1,20 @@
|
||||
#!/bin/bash
|
||||
# Indexa o código do novo sistema Tigre (codeclass/Sources) no banco RAG
|
||||
# dedicado (rag_tigre, schema tigre). Usa o mesmo container compartilhado
|
||||
# rag-hub-db — um banco por sistema.
|
||||
set -e
|
||||
|
||||
RAG_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
PROJECT_ROOT="$(dirname "$RAG_DIR")"
|
||||
|
||||
# Garante o túnel SSH até o Postgres da VPS (idempotente).
|
||||
"$RAG_DIR/ensure_tunnel.sh" >&2
|
||||
|
||||
# usa o python do ag .venv se existir, senão o python3 global
|
||||
PY="${RAG_DIR}/.venv/bin/python3"
|
||||
if [ ! -x "$PY" ]; then
|
||||
PY="$(command -v python3)"
|
||||
fi
|
||||
|
||||
export RAG_ENV_FILE="$RAG_DIR/tigre.env"
|
||||
exec "$PY" "$RAG_DIR/index_code.py" "$@"
|
||||
Reference in New Issue
Block a user