Skip to content

Commit

Permalink
docs: Don't include add-rag bit if project is open source
Browse files Browse the repository at this point in the history
  • Loading branch information
saattrupdan committed Jul 15, 2024
1 parent 4ba194b commit a32122f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 1 addition & 2 deletions {{cookiecutter.project_name}}/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ Developer(s):

1. Run `make install`, which sets up a virtual environment and all Python dependencies therein.
2. Run `source .venv/bin/activate` to activate the virtual environment.
3. (Optional) Run `make install-pre-commit`, which installs pre-commit hooks for linting, formatting and type checking.
4. (Optional) Run `make add-rag` to add RAG functionality from [ragger](https://github.com/alexandrainst/ragger).
3. (Optional) Run `make install-pre-commit`, which installs pre-commit hooks for linting, formatting and type checking.{{'\n4. (Optional) Run `make add-rag` to add RAG functionality from [ragger](https://github.com/alexandrainst/ragger).' if cookiecutter.open_source != 'y'}}

### Adding and Removing Packages

Expand Down
4 changes: 4 additions & 0 deletions {{cookiecutter.project_name}}/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
# Exports all variables defined in the makefile available to scripts
.EXPORT_ALL_VARIABLES:

{% if cookiecutter.open_source == 'y' %}
# This is a test
{% endif %}

# Create .env file if it does not already exist
ifeq (,$(wildcard .env))
$(shell touch .env)
Expand Down

0 comments on commit a32122f

Please sign in to comment.