refactor: reorganize project structure and fix broken references
- Move scripts to scripts/ directory (roda.sh, prepara_db.py, etc.) - Move shell config to shell/ directory (Caddyfile, auth.py, haloy.yml) - Move basedosdados.duckdb to data/ directory - Update Dockerfile and start.sh with new file paths - Update README.md with correct script paths - Remove Python ask.py (replaced by Rust binary in ask/ask) - Add Rust source files (schema_filter.rs, sql_generator.rs, table_selector.rs) - Remove sentence-transformer dependencies from ask - Move docs and context artifacts to their directories
This commit is contained in:
6
start.sh
6
start.sh
@@ -19,13 +19,13 @@ SQL
|
||||
chmod 600 /app/ssh_init.sql
|
||||
|
||||
echo "[start] Starting ttyd terminal (db)..."
|
||||
ttyd --port 7681 --writable duckdb -readonly --init /app/ssh_init.sql /app/basedosdados.duckdb &
|
||||
ttyd --port 7681 --writable duckdb -readonly --init /app/ssh_init.sql /app/data/basedosdados.duckdb &
|
||||
|
||||
echo "[start] Starting ttyd terminal (ask)..."
|
||||
ttyd --port 7682 --writable python3 /app/ask.py &
|
||||
ttyd --port 7682 --writable /app/ask &
|
||||
|
||||
echo "[start] Starting auth service..."
|
||||
python3 /app/auth.py &
|
||||
python3 /app/shell/auth.py &
|
||||
|
||||
echo "[start] Starting Caddy..."
|
||||
exec caddy run --config /app/Caddyfile --adapter caddyfile
|
||||
|
||||
Reference in New Issue
Block a user