Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 674 Bytes

README.md

File metadata and controls

20 lines (11 loc) · 674 Bytes

Repository Index

Indexes a Git repository using embeddings.

Setup

pip install -r requirements_dev.txt

Run

python3 path-to/repository_index/repository_index.py

Example: python3 ~/github/repository-index/repository_index/repository_index.py

Tip: set an alias in your .bashrc or .zshrc to make it easier to run.

echo "alias indexrepo='python3 ~/github/repository-index/repository_index/repository_index.py'" >> ~/.zshrc

This assumes that the repository_index.py script is located in the ~/github/repository-index/repository_index/ directory. If you're using bash instead of zsh, you should add the alias to your .bashrc file instead.