From 38760c6902dbeb7ac9eb877a8cd5171a4f60e1b5 Mon Sep 17 00:00:00 2001 From: Birtibu <130974179+Birtibu@users.noreply.github.com> Date: Mon, 17 Apr 2023 11:17:25 +0200 Subject: [PATCH] Update developing-locally-docker.rst Add 3rd party python packages --- docs/developing-locally-docker.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/developing-locally-docker.rst b/docs/developing-locally-docker.rst index 935e86020..fc625b83a 100644 --- a/docs/developing-locally-docker.rst +++ b/docs/developing-locally-docker.rst @@ -144,6 +144,14 @@ This tells our computer that all future commands are specifically for the dev1 m $ eval "$(docker-machine env dev1)" +Add 3rd party python packages +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +To install and especially to keep a new 3rd party django package, you cannot use ``pip install ``, that would only add the package to the container. But your container is ephemeral, you will want to modify the image from which it is built. +You have to modify the relevant requirement file: base, local or production by adding: :: + + == + Debugging ~~~~~~~~~