From 72da5c1e73574c59643541211fc10ee6f377db9b Mon Sep 17 00:00:00 2001 From: Melvin Klein Date: Tue, 12 Nov 2024 08:31:44 +0000 Subject: [PATCH 1/2] README changes --- README.md | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 2292337b5..8cad75777 100644 --- a/README.md +++ b/README.md @@ -17,23 +17,10 @@ To use a specific service, you can install it as: pip install stackit-redis ``` -It will pull all needed dependencies automatically, so you can use the package right away. - -To use all services, you can install the whole SDK with a single package: - -```bash -pip install stackit -``` - -This allows you to use any services that the SDK offers. +It will install all needed dependencies automatically, so you can use the package right away. ## Installation from source -For an installation from source `poetry` is required. -It can be installed with the following command: -```bash -pip install poetry -``` In order to install the code from source you have to execute the following code: ```bash @@ -171,7 +158,13 @@ If you encounter any issues or have suggestions for improvements, please open an ## Contribute ### Installing in editable mode -For development it is best to install in editable mode. +For developing is is recommended to install `poetry`. +It can be installed with: +```bash +pip install poetry +``` + +For development it is best to install the packages in editable mode. You can install a single package in editable mode using the following command: ```bash pip install -e services/ @@ -181,7 +174,12 @@ For `redis` the command would be: ```bash pip install -e services/redis ``` -If you want to install all services in editable mode you can use the `Makefile` with the following command: +There are optional dev-dependencies that require `poetry`. Those can be installed with: +```bash +poetry install -C --only dev --no-root +``` + +If you want to install all services in editable mode, as well as the dev-dependencies, you can use the `Makefile` with the following command: ```bash make install-dev ``` From 2a01df8913be5016b68ed861b53ea02203a37f7a Mon Sep 17 00:00:00 2001 From: Melvin <70433111+MelvinKl@users.noreply.github.com> Date: Tue, 12 Nov 2024 09:54:04 +0100 Subject: [PATCH 2/2] Update README.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: João Palet --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index 8cad75777..cabe7e3d7 100644 --- a/README.md +++ b/README.md @@ -158,11 +158,9 @@ If you encounter any issues or have suggestions for improvements, please open an ## Contribute ### Installing in editable mode -For developing is is recommended to install `poetry`. -It can be installed with: +For developing it is recommended to install `poetry`, which can be installed via: ```bash pip install poetry -``` For development it is best to install the packages in editable mode. You can install a single package in editable mode using the following command: