Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Update docs on dependency management
jxltom155143dc4f4d
diff --git a/docs/customization/backend.rst b/docs/customization/backend.rstindex f106b34e91..e5778ef527 100644--- a/docs/customization/backend.rst+++ b/docs/customization/backend.rst@@ -4,9 +4,9 @@ Working with Python CodeManaging Dependencies----------------------To guarantee repeatable installations all project dependencies are managed using `pip-tools <https://github.com/nvie/pip-tools>`_.-Project's direct dependencies are listed in ``requirements.in`` and running :code:`pip-compile` generates ``requirements.txt`` that has all versions pinned.--We recommend you use this workflow and keep ``requirements.txt`` under version control to make sure all computers and environments run exactly the same code.+To guarantee repeatable installations, all project dependencies are managed using `Pipenv <https://pipenv.readthedocs.io/en/latest/>`_.+Project's direct dependencies are listed in ``Pipfile`` and running :code:`pipenv lock` would generate ``Pipfile.lock`` that has all versions pinned.+For users who are not using Pipenv, ``requirements.txt`` and ``requirements_dev.txt`` are also provided. They should be updated by :code:`pipenv lock -r > requirements.txt` and :code:`pipenv lock -r --dev > requirements_dev.txt`, if any dependencies are changed in ``Pipfile``.+We recommend you use this workflow and keep ``Pipfile`` as well as ``Pipfile.lock`` under version control to make sure all computers and environments run exactly the same code.