[elbe-devel] [PATCH] quickstart: add Python's SimpleHTTPServer example
Yegor Yefremov
yegorslists at googlemail.com
Tue Jul 11 14:12:45 CEST 2017
On Tue, Jul 11, 2017 at 1:34 PM, Andrey Skvortsov
<andrej.skvortzov at gmail.com> wrote:
> 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.
Good point.
Will apt try 8080 by default, if 80 is not accessible?
Yegor
More information about the elbe-devel
mailing list