-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
executable file
·73 lines (62 loc) · 3.38 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<html prefix="
og: http://ogp.me/ns# article: http://ogp.me/ns/article#
" vocab="http://ogp.me/ns" lang="ru">
<head>
<meta charset="utf-8">
<meta name="description" content="I don't really know what is it">
<meta name="viewport" content="width=device-width">
<title>Some stuff</title>
<link href="assets/css/all-nocdn.css" rel="stylesheet" type="text/css">
<meta name="theme-color" content="#5670d4">
<meta name="generator" content="Nikola (getnikola.com)">
<link rel="alternate" type="application/rss+xml" title="RSS" hreflang="ru" href="rss.xml">
<link rel="canonical" href="https://goriy.github.io/">
<!--[if lt IE 9]><script src="assets/js/html5shiv-printshiv.min.js"></script><![endif]--><link rel="prefetch" href="posts/python-http/" type="text/html">
</head>
<body>
<a href="#content" class="sr-only sr-only-focusable">Перейти к главному содержимому</a>
<div id="container">
<header id="header"><h1 id="brand"><a href="." title="Some stuff" rel="home">
</a></h1>
<nav id="menu"><ul>
<li class="active"><a href=".">Home<span class="sr-only"> (активная)</span></a></li>
<li><a href="archive.html">Архив</a></li>
<li><a href="galleries/">Галереи</a></li>
<li><a href="pages/">Страницы</a></li>
<li><a href="categories/">Теги</a></li>
</ul></nav></header><main id="content"><div class="postindex">
<article class="h-entry post-text" itemscope="itemscope" itemtype="http://schema.org/Article"><header><h1 class="p-name entry-title"><a href="posts/python-http/" class="u-url">Запуск http-сервера на python</a></h1>
<div class="metadata">
<p class="byline author vcard"><span class="byline-name fn" itemprop="author">
None
</span></p>
<p class="dateline">
<a href="posts/python-http/" rel="bookmark">
<time class="published dt-published" datetime="2021-01-08T15:47:23+03:00" itemprop="datePublished" title="2021-01-08 15:47">2021-01-08 15:47</time></a>
</p>
</div>
</header><div class="e-content entry-content">
<div>
<p>Чтобы просто расшарить папку можно запустить в ней простой http-server. По умолчанию сервер запускается на порту 8000.</p>
<p>Если python имеет исполняемый файл python3, то его и надо вписать в скрипт ниже.</p>
<pre class="code literal-block">python -m http.server <span class="o">[</span>port<span class="o">]</span>
</pre>
</div>
</div>
</article>
</div>
</main><footer id="footer"><p>2021 - Powered by <a href="https://getnikola.com" rel="nofollow">Nikola</a>
<br>
Все материалы доступны как <a rel="license" href="http://creativecommons.org/publicdomain/zero/1.0/">
общественное достояние CC0 1.0 Universal (CC0 1.0) Public Domain Dedication</a>.
</p>
</footer>
</div>
<script src="assets/js/all-nocdn.js"></script><script>
baguetteBox.run('div#content', {
ignoreClass: 'islink',
captions: function(element){var i=element.getElementsByTagName('img')[0];return i===undefined?'':i.alt;}});
</script>
</body>
</html>