Requirements:
- Python
- Pip
- ollama
Install dependencies:
pip install -r requirements.txtInstall LLaMA 3.1 model:
ollama pull llama3.1Start the Ollama server (this must be running to interact with the model):
ollama serveBefore running the application, you need to add your project absolute path to the .env file.
- Create a
.envfile in the project root (if it doesn't exist). - Add the following line inside the file:
PYTHONPATH=C:/Users/yourname/path/to/adc-security- Replace the example path with the full path to your local project folder.
Run main.py to start analysis:
python main.pyRun tests in project root:
pytest src/tests --cov=src --cov-report=term-missing --tb=short -v