From 821c4e8c7b0c2aed0004f894e298b77542e3b6c7 Mon Sep 17 00:00:00 2001 From: Matthew Planchard Date: Sun, 7 Feb 2021 22:06:48 -0600 Subject: [PATCH] fixup! fixup! fixup! Add README.md --- README.md | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 04db5e8..e34b470 100644 --- a/README.md +++ b/README.md @@ -77,34 +77,34 @@ not officially supported, and will not receive bugfixes or new features. 1. Install `pypiserver` with this command: -``` shell -pip install pypiserver # Or: pypiserver[passlib,watchdog] -mkdir ~/packages # Copy packages into this directory. -``` + ``` shell + pip install pypiserver # Or: pypiserver[passlib,watchdog] + mkdir ~/packages # Copy packages into this directory. + ``` See also [Alternative Installation methods](#alternative-installation-methods) 2. Copy some packages into your `~/packages` folder and then get your `pypiserver` up and running: -``` shell -pypi-server run -p 8080 ~/packages & # Will listen to all IPs. -``` + ``` shell + pypi-server run -p 8080 ~/packages & # Will listen to all IPs. + ``` 3. From the client computer, type this: -``` shell -# Download and install hosted packages. -pip install --extra-index-url http://localhost:8080/simple/ ... + ``` shell + # Download and install hosted packages. + pip install --extra-index-url http://localhost:8080/simple/ ... -# or -pip install --extra-index-url http://localhost:8080 ... + # or + pip install --extra-index-url http://localhost:8080 ... -# Search hosted packages. -pip search --index http://localhost:8080 ... + # Search hosted packages. + pip search --index http://localhost:8080 ... -# Note that pip search does not currently work with the /simple/ endpoint. -``` + # Note that pip search does not currently work with the /simple/ endpoint. + ``` See also [Client-side configurations](#client-side-configurations) for avoiding tedious typing.