diff --git a/README.md b/README.md index d5e672fc..47d9a8c1 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,10 @@ using: $ docker compose down ``` +### :bell: Updating the Docker image with new dependencies + +> If new dependencies exist in `requirements.in`, see [Dependency Management](docs/dependencies.md) for details on how to rebuild the Docker image with those new dependencies. + ## Running the tests To run the tests, execute: diff --git a/docs/dependencies.md b/docs/dependencies.md index 20f77514..a0eb9273 100644 --- a/docs/dependencies.md +++ b/docs/dependencies.md @@ -6,4 +6,4 @@ 1. Add the package to `requirements.in` 1. Run `just pip-compile`, which will add the dependency to `requirements.txt` 1. Run `just rebuild` to rebuild your Docker image to include the new dependencies -2. Run `just up` and continue with development +2. Run `docker compose up` and continue with development diff --git a/requirements.in b/requirements.in index 2c58dee7..836c59d9 100755 --- a/requirements.in +++ b/requirements.in @@ -58,6 +58,7 @@ beautifulsoup4 django-haystack>=3.2 django-mptt==0.14 +elasticsearch==7.17.9 # Github ghapi diff --git a/requirements.txt b/requirements.txt index 4abea5cc..3ff6a87e 100755 --- a/requirements.txt +++ b/requirements.txt @@ -40,6 +40,7 @@ celery==5.2.7 # via -r ./requirements.in certifi==2023.5.7 # via + # elasticsearch # minio # requests cffi==1.15.1 @@ -139,6 +140,8 @@ djangorestframework==3.14.0 # via # -r ./requirements.in # django-rest-auth +elasticsearch==7.17.9 + # via -r ./requirements.in environs[django]==9.5.0 # via -r ./requirements.in executing==1.2.0 @@ -315,6 +318,7 @@ urllib3==1.26.16 # via # botocore # django-anymail + # elasticsearch # minio # requests # responses