From 7c96ea694fe6f877ab8ef289e7d30526ff60eb9a Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Wed, 17 Jan 2018 08:44:44 -0500 Subject: [PATCH] using pipenv --- source/getting-started.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/source/getting-started.rst b/source/getting-started.rst index 2662c82..704f0cd 100644 --- a/source/getting-started.rst +++ b/source/getting-started.rst @@ -54,4 +54,11 @@ The next step is to install *Pipenv*, our packaging tool of choice. Package mang Python.org has a `great guide `_ available for installing Pipenv that also covers its basic usage. -Here's a great `blog post `_ covering the basic concepts presented by Pipenv, and why it's an excellent choice for your first project. \ No newline at end of file +Here's a great `blog post `_ covering the basic concepts presented by Pipenv, and why it's an excellent choice for your first project. + +Using Pipenv +------------ + +First, ``$ cd`` into your new project directory (after you ``$ mkdir`` and ``$ git init`` it, of course), and simply run ``$ pipenv install requests`` to instal the `requests `_ library, which is one of our favorites. + +Then, run ``$ pipenv shell`` to run a shell that will have a ``$ python`` available in which ``import reqests`` will function properly. Pretty simple :) \ No newline at end of file