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:
2026-03-29 20:46:27 +02:00
parent 02cb13362c
commit ed5fa6756e
43 changed files with 302366 additions and 1093 deletions

View File

@@ -28,8 +28,9 @@ ENV PATH="/root/.cargo/bin:${PATH}" \
WORKDIR /app
COPY basedosdados.duckdb Caddyfile start.sh auth.py ask.py ./
RUN chmod +x start.sh
COPY data/basedosdados.duckdb shell/Caddyfile shell/auth.py start.sh ./
COPY ask/ask /app/ask
RUN chmod +x start.sh /app/ask
EXPOSE 8080