Skip to content
This repository has been archived by the owner on Feb 2, 2025. It is now read-only.
Dawid Szlachta edited this page Oct 20, 2023 · 1 revision

Running locally

  1. Copy qn.example.toml to qn.toml (it's git-ignored)
  2. Go to database, open docker-compose.yml and copy POSTGRES_PASSWORD value to qn.toml as default database password
  3. Set database username as "postgres" in qn.toml
  4. In database directory, call docker compose up
  5. Open http://localhost:8080. Click "Create table" and use "index" as table name
  6. Create a new directory and copy one index chunk there (you can copy more but it'll take more time to convert it to SQL)
  7. Go to export directory
  8. Run command: `go run . convert --config_path <path_to_qn.toml> <path_to_new_chunk_directory>
  9. When the command finishes, you can make SQL requests from http://localhost:8080 (Click SQL command in the left menu)
Clone this wiki locally