[elbe-devel] [PATCH] quickstart: add Python's SimpleHTTPServer example

Andrey Skvortsov andrej.skvortzov at gmail.com
Tue Jul 11 13:34:44 CEST 2017


On 17-07-11 12:52, yegorslists at googlemail.com wrote:
> From: Yegor Yefremov <yegorslists at googlemail.com>
> 
> SimpleHTTPServer provides a simple replacement for a temporary
> webserver.
> 
> Signed-off-by: Yegor Yefremov <yegorslists at googlemail.com>
> ---
>  docs/quickstart.txt | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/docs/quickstart.txt b/docs/quickstart.txt
> index ea608e5..4b3c4c8 100644
> --- a/docs/quickstart.txt
> +++ b/docs/quickstart.txt
> @@ -352,7 +352,13 @@ $ reprepro include jessie ../path/to/your/*.changes
>  -------------------------------------------------------------------------------
>  
>  To use this repository from ELBE you need a webserver. Simply place the
> -repository inside the document root of your webserver.
> +repository inside the document root of your webserver. If you don't want to
> +setup a full-fledged webserver you can invoke the command below from inside the
> +`repo` directory to make your custom repository available on port 80:
> +
> +-------------------------------------------------------------------------------
> +$ python -m SimpleHTTPServer 80

IMHO it would be better to run it on the port over 1024 without root privileges.

-- 
Best regards,
Andrey Skvortsov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20170711/d7895f0c/attachment.sig>


More information about the elbe-devel mailing list