From 9cd0ee0272f99e2e2619d98c1cb975a74a557400 Mon Sep 17 00:00:00 2001 From: "Nikita P. Shupeyko" Date: Fri, 9 Mar 2018 13:16:47 +0300 Subject: [PATCH] Document merge_production_dotenvs_in_dotenv.py usage --- docs/developing-locally-docker.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/developing-locally-docker.rst b/docs/developing-locally-docker.rst index f83baf81..7cbf9ae9 100644 --- a/docs/developing-locally-docker.rst +++ b/docs/developing-locally-docker.rst @@ -119,6 +119,12 @@ Consider the aforementioned ``.envs/.local/.postgres``: :: The three envs we are presented with here are ``POSTGRES_DB``, ``POSTGRES_USER``, and ``POSTGRES_PASSWORD`` (by the way, their values have also been generated for you). You might have figured out already where these definitions will end up; it's all the same with ``django`` and ``caddy`` service container envs. +One final touch: should you ever need to merge ``.envs/production/*`` in a single ``.env`` run the ``merge_production_dotenvs_in_dotenv.py``: :: + + $ python merge_production_dotenvs_in_dotenv.py + +The ``.env`` file will then be created, with all your production envs residing beside each other. + Tips & Tricks -------------