mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-16 19:41:03 +03:00
Document merge_production_dotenvs_in_dotenv.py usage
This commit is contained in:
parent
3e2bf3f701
commit
9cd0ee0272
|
@ -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
|
||||
-------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user