Enhance CONTRIBUTING.md with example setup instructions

Added instructions for running a simple example and setting up the environment.
This commit is contained in:
Vasilije 2025-12-29 18:00:08 +01:00 committed by GitHub
parent 1061258fde
commit 5b42b21af5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -97,6 +97,21 @@ git checkout -b feature/your-feature-name
python cognee/cognee/tests/test_library.py
```
### Running Simple Example
Change .env.example into .env and provide your OPENAI_API_KEY as LLM_API_KEY
Make sure to run ```shell uv sync ``` in the root cloned folder or set up a virtual environment to run cognee
```shell
python cognee/cognee/examples/python/simple_example.py
```
or
```shell
uv run python cognee/cognee/examples/python/simple_example.py
```
## 4. 📤 Submitting Changes
1. Install ruff on your system