From 20fa3323adb6e85dbf80ca996c26649352b75a0d Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Wed, 27 Sep 2017 09:43:04 -0400 Subject: [PATCH] more docs Signed-off-by: Kenneth Reitz --- docs/advanced.rst | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/advanced.rst b/docs/advanced.rst index a6e7cd40..00903aca 100644 --- a/docs/advanced.rst +++ b/docs/advanced.rst @@ -257,7 +257,7 @@ the current working directory when working on packages:: Note that all sub-dependencies will get added to the ``Pipfile.lock`` as well. -☤ Managing System Dependencies +☤ Deploying System Dependencies ------------------------------ You can tell Pipenv to install things into it's parent system with the ``--system`` flag:: @@ -266,6 +266,12 @@ You can tell Pipenv to install things into it's parent system with the ``--syste This is useful for Docker containers, and deployment infrastructure (e.g. Heroku does this). +Also useful for deployment is the ``install --deploy`` flag: + + $ pipenv install --system --deploy + +This will fail a build if the lockfile is out–of–date, instead of genreating a new one. + ☤ Generating a ``requirements.txt`` -----------------------------------