Commit c393dbb9 authored by Alexandre Vincent's avatar Alexandre Vincent
Browse files

add readme section regarding package dependency management

parent 4ae1f9ff
Pipeline #56832 passed with stages
in 20 minutes and 39 seconds
......@@ -88,6 +88,12 @@ Wellbore Domain Data Management Services (Wellbore-DDMS) Open Subsurface Data Un
pip install -r requirements.txt
Or, for a developer setup, this will install tools to help you work with the code.
pip install -r requirements.txt -r requirements_dev.txt
6. Run the service
......@@ -316,7 +322,7 @@ docker build -t=$IMAGE_TAG --rm . -f ./build/dockerfile --build-arg PIP_WHEEL_DI
# Install test dependencies
pip install -r requirements_dev.txt
pip install -r requirements.txt -r requirements_dev.txt
python -m pytest --junit-xml=unit_tests_report.xml --cov=app --cov-report=html --cov-report=xml ./tests/unit
......@@ -345,6 +351,29 @@ pytest ./functional --environment="./generated/postman_environment.json" --filte
For more information see the [integration tests README](tests/integration/
### Manage package dependencies
Anytime, you may want to ensure your virtual environment is in sync with your requirements specification.
For this you can use:
If you want to work with other requirements file, you can specify them
pip-sync requirements.txt requirements_dev.txt
If you want to update `requirements.txt` to retrieve the most recent version, respecting bounds set in ``, you can use:
For more information:
### Port Forward from Kubernetes
1. List the pods: `kubectl get pods`
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment