README ¶ gitlab-zoekt-indexer Compiling the binary $ make $ ./bin/gitlab-zoekt-indexer 2023/08/14 11:07:29 Usage: ./bin/gitlab-zoekt-indexer [ --version | --index_dir=<DIR> | --path_prefix=<PREFIX> | --listen=:<PORT> ] Running indexer in GDK mode Set GDK_DIR env variable (for example, export GDK_DIR="$HOME/projects/gdk"). Stop GDK indexer if you have it running via gdk stop gitlab-zoekt-indexer-development. Execute make gdk or make watch-gdk. The latter will restart indexer after every change (requires watchexec). Running indexer with docker-compose For trying out zoekt. Not an official installation method. See example Running tests Install a suitable docker client Add zoekt-webserver to your PATH. If you have zoekt enabled in your GDK you can do: export GDK_DIR="$HOME/projects/gdk" export PATH="$GDK_DIR/zoekt/bin:$PATH" Run the dependencies: docker-compose up Run the tests: # One time make test # On every change (requires https://github.com/watchexec/watchexec installed) make watch-test Expand ▾ Collapse ▴ Directories ¶ Show internal Expand all Path Synopsis cmd gitlab-zoekt-indexer gitlab-zoekt-webserver internal api authentication callback correlation debug_ls dev_debug disk_stats file_cleaner gitaly indexer indexing_lock node_uuid profiler projectpath server task_request task_request_response webserver_test_helper zoekt Click to show internal directories. Click to hide internal directories.