Skip to content

Commit

Permalink
fix: Hop into venv before accessing pip command
Browse files Browse the repository at this point in the history
  • Loading branch information
saattrupdan committed Jul 15, 2024
1 parent 57e37c6 commit 6645ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion {{cookiecutter.project_name}}/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ setup-ragger:
@if [ ! -f data/processed/document_store.jsonl ]; then \
mv src/ragger/data/processed/document_store.jsonl data/processed/; \
fi
@{{'poetry add' if cookiecutter.dependency_manager != 'pip' else 'pip install'}} -e src/ragger
@{{'poetry add' if cookiecutter.dependency_manager != 'pip' else '. .venv/bin/activate && pip install'}} -e src/ragger
@{{'poetry run ' if cookiecutter.dependency_manager != 'pip' else '. .venv/bin/activate && '}}python src/scripts/fix_dot_env_file.py --include-openai

add-rag: ## Add RAG functionality to the project
Expand Down

0 comments on commit 6645ba8

Please sign in to comment.