mirror of
https://github.com/amithkoujalgi/ollama4j.git
synced 2025-05-15 03:47:13 +02:00
Ensure Docker availability in dev setup and integration tests
Updated `README.md` to include Docker as a prerequisite for running integration tests using Testcontainers. Modified the `Makefile` to check for Docker installation during the dev environment setup.
This commit is contained in:
parent
983a3617f0
commit
2b0238b9e8
1
Makefile
1
Makefile
@ -1,6 +1,7 @@
|
||||
dev:
|
||||
@echo "Setting up dev environment..."
|
||||
@command -v pre-commit >/dev/null 2>&1 || { echo "Error: pre-commit is not installed. Please install it first."; exit 1; }
|
||||
@command -v docker >/dev/null 2>&1 || { echo "Error: docker is not installed. Please install it first."; exit 1; }
|
||||
pre-commit install
|
||||
pre-commit autoupdate
|
||||
pre-commit install --install-hooks
|
||||
|
@ -227,6 +227,9 @@ make unit-tests
|
||||
|
||||
#### Run integration tests
|
||||
|
||||
Make sure you have Docker running as this uses [testcontainers](https://testcontainers.com/) to run the integration
|
||||
tests on Ollama Docker container.
|
||||
|
||||
```shell
|
||||
make integration-tests
|
||||
```
|
||||
@ -325,7 +328,7 @@ project.
|
||||
</a>
|
||||
</p>
|
||||
|
||||
### Appreciate my work?
|
||||
### Appreciate the work?
|
||||
|
||||
<p align="center">
|
||||
<a href="https://www.buymeacoffee.com/amithkoujalgi" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user