From 07fdf96beea849601663921fc8984932558be01d Mon Sep 17 00:00:00 2001 From: srgwrtg0342 <99070713+srgwrtg0342@users.noreply.github.com> Date: Sat, 5 Feb 2022 10:52:01 +0200 Subject: [PATCH 01/10] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 746fc70..8769c57 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,5 @@ # Инструкция использования Открыть порт 55555 на вашем вай-фай роутере, использовать Windows 10, а так же открыть скрипт и вписать ваш IPV4 - Как его узнать? Открываем cmd.exe, пишем ipconfig, далее находим пункт - Адаптер беспроводной локальной сети Беспроводная сеть - и находим под-пункт IPV4 - Копируем его значение и вставляем! Всё! Ваш сайт готов к использованию! В случае добавления новых элементов прописать на восьмой строке после '/index.html', вот эту строчку кода - '/SITE-RESOURSE-NAME.css.js.jquery.html', + +https://youtu.be/PVyQUGMM7NI From b4833dfe9ecdc829c106c97acef29f12a0631b93 Mon Sep 17 00:00:00 2001 From: srgwrtg0342 <99070713+srgwrtg0342@users.noreply.github.com> Date: Sat, 5 Feb 2022 10:54:03 +0200 Subject: [PATCH 02/10] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8769c57..5b5eecb 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,4 @@ Открыть порт 55555 на вашем вай-фай роутере, использовать Windows 10, а так же открыть скрипт и вписать ваш IPV4 - Как его узнать? Открываем cmd.exe, пишем ipconfig, далее находим пункт - Адаптер беспроводной локальной сети Беспроводная сеть - и находим под-пункт IPV4 - Копируем его значение и вставляем! Всё! Ваш сайт готов к использованию! В случае добавления новых элементов прописать на восьмой строке после '/index.html', вот эту строчку кода - '/SITE-RESOURSE-NAME.css.js.jquery.html', -https://youtu.be/PVyQUGMM7NI +[![Посмотрите это видео!](https://img.youtube.com/vi/PVyQUGMM7NI/maxresdefault.jpg)](https://www.youtube.com/watch?v=PVyQUGMM7NI) From b90e8f5e152d0caf9bd80cb9adf97d18044c9b8a Mon Sep 17 00:00:00 2001 From: srgwrtg0342 <99070713+srgwrtg0342@users.noreply.github.com> Date: Sat, 5 Feb 2022 10:54:17 +0200 Subject: [PATCH 03/10] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5b5eecb..bed0a7d 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,4 @@ Открыть порт 55555 на вашем вай-фай роутере, использовать Windows 10, а так же открыть скрипт и вписать ваш IPV4 - Как его узнать? Открываем cmd.exe, пишем ipconfig, далее находим пункт - Адаптер беспроводной локальной сети Беспроводная сеть - и находим под-пункт IPV4 - Копируем его значение и вставляем! Всё! Ваш сайт готов к использованию! В случае добавления новых элементов прописать на восьмой строке после '/index.html', вот эту строчку кода - '/SITE-RESOURSE-NAME.css.js.jquery.html', -[![Посмотрите это видео!](https://img.youtube.com/vi/PVyQUGMM7NI/maxresdefault.jpg)](https://www.youtube.com/watch?v=PVyQUGMM7NI) +[![Посмотрите это видео!](https://img.youtube.com/vi/T-PVyQUGMM7NI/maxresdefault.jpg)](https://www.youtube.com/watch?v=PVyQUGMM7NI) From a3dfdd0efd7d22e7147356dd42f9596a1a80650e Mon Sep 17 00:00:00 2001 From: srgwrtg0342 <99070713+srgwrtg0342@users.noreply.github.com> Date: Sat, 5 Feb 2022 10:56:01 +0200 Subject: [PATCH 04/10] Update README.md --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bed0a7d..0afff81 100644 --- a/README.md +++ b/README.md @@ -4,4 +4,10 @@ Открыть порт 55555 на вашем вай-фай роутере, использовать Windows 10, а так же открыть скрипт и вписать ваш IPV4 - Как его узнать? Открываем cmd.exe, пишем ipconfig, далее находим пункт - Адаптер беспроводной локальной сети Беспроводная сеть - и находим под-пункт IPV4 - Копируем его значение и вставляем! Всё! Ваш сайт готов к использованию! В случае добавления новых элементов прописать на восьмой строке после '/index.html', вот эту строчку кода - '/SITE-RESOURSE-NAME.css.js.jquery.html', -[![Посмотрите это видео!](https://img.youtube.com/vi/T-PVyQUGMM7NI/maxresdefault.jpg)](https://www.youtube.com/watch?v=PVyQUGMM7NI) +# Видео-фото материал + +![Снимок экрана (2165)](https://user-images.githubusercontent.com/99070713/152635255-a5fe556b-7696-4b61-9661-ff939d0a89f0.png) + + +https://user-images.githubusercontent.com/99070713/152635289-8d744cdd-6509-40bd-b186-1787997cad22.mp4 + From 0cb8766dc6d5c4eed998b38c4059447cd8b0a9ca Mon Sep 17 00:00:00 2001 From: srgwrtg0342 <99070713+srgwrtg0342@users.noreply.github.com> Date: Sat, 5 Feb 2022 11:02:32 +0200 Subject: [PATCH 05/10] Update README.md --- README.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0afff81..352939f 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # The-Best-Python-HTTP-Server Привет! Это лучший и одновременно простейший http сервер на языке программирования python, который позволяет видеть сайт и использовать вёрстку для создания html,css,js и т.д! Я могу пожелать вам удачи в использовании! # Инструкция использования -Открыть порт 55555 на вашем вай-фай роутере, использовать Windows 10, а так же открыть скрипт и вписать ваш IPV4 - Как его узнать? Открываем cmd.exe, пишем ipconfig, далее находим пункт - Адаптер беспроводной локальной сети Беспроводная сеть - и находим под-пункт IPV4 - Копируем его значение и вставляем! Всё! Ваш сайт готов к использованию! +Открыть порт 55555 на вашем вай-фай роутере, использовать Windows 10, а так же открыть скрипт и вписать ваш IPV4 - Как его узнать? Открываем cmd.exe, пишем ipconfig, далее находим пункт - Адаптер беспроводной локальной сети Беспроводная сеть - и находим под-пункт IPV4 - Копируем его значение и вставляем! Затем мы должны узнать внешний айпи-адрес роутера, это вы можете сделать с помощью сервиса 2ip. Заменяете локальный айпи компьютера в ссылке на внешний айпи-адрес сети и всё! Ваш сайт готов к использованию! В случае добавления новых элементов прописать на восьмой строке после '/index.html', вот эту строчку кода - '/SITE-RESOURSE-NAME.css.js.jquery.html', # Видео-фото материал @@ -11,3 +11,19 @@ https://user-images.githubusercontent.com/99070713/152635289-8d744cdd-6509-40bd-b186-1787997cad22.mp4 +Как видите на этих видео и фото материалах показана демонстрация работы данного репозитория, что значит вы спокойно можете спать, зная что ваш сайт работает - пока компьютер включён. Помните - это лишь временная мера для ваших сайтов, я скоро введу доменные имена, поэтому вам не будет не о чём беспокоиться. И да - прошу задонатить мне на хлеб, карта MasterCard = 5168 7559 0454 1717 + +# The-Best-Python-HTTP-Server +Hey! This is the best and at the same time the simplest http server in the python programming language, which allows you to see the site and use the layout to create html, css, js, etc! I can wish you good luck in using! +# Instructions for use +Open port 55555 on your wi-fi router, use Windows 10, and open the script and enter your IPV4 - How to recognize it? Open cmd.exe, write ipconfig, then find the item - Wireless LAN Adapter Wireless Network - and find the sub-item IPV4 - Copy its value and paste it! Then we need to find out the external IP address of the router, you can do this using the 2ip service. Replace the local ip of the computer in the link with the external ip address of the network and that's it! Your site is ready to use! +In the case of adding new elements, write on the eighth line after '/index.html', this line of code - '/SITE-RESOURSE-NAME.css.js.jquery.html', + +# Video photo material + +![Screenshot (2165)](https://user-images.githubusercontent.com/99070713/152635255-a5fe556b-7696-4b61-9661-ff939d0a89f0.png) + + +https://user-images.githubusercontent.com/99070713/152635289-8d744cdd-6509-40bd-b186-1787997cad22.mp4 + +As you can see, these video and photo materials show a demonstration of the work of this repository, which means you can sleep peacefully, knowing that your site is working - as long as the computer is on. Remember - this is just a temporary measure for your sites, I'll be introducing domain names soon so you don't have to worry about anything. And yes - please donate to me for bread, MasterCard = 5167 7559 0454 1717 From b7d68161e176dc14946c7423ba9a60bdb464fb20 Mon Sep 17 00:00:00 2001 From: srgwrtg0342 <99070713+srgwrtg0342@users.noreply.github.com> Date: Sat, 5 Feb 2022 11:03:29 +0200 Subject: [PATCH 06/10] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 352939f..6f3e7ec 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# The-Best-Python-HTTP-Server +# Лучший HTTP сервер на Python RU Привет! Это лучший и одновременно простейший http сервер на языке программирования python, который позволяет видеть сайт и использовать вёрстку для создания html,css,js и т.д! Я могу пожелать вам удачи в использовании! # Инструкция использования Открыть порт 55555 на вашем вай-фай роутере, использовать Windows 10, а так же открыть скрипт и вписать ваш IPV4 - Как его узнать? Открываем cmd.exe, пишем ipconfig, далее находим пункт - Адаптер беспроводной локальной сети Беспроводная сеть - и находим под-пункт IPV4 - Копируем его значение и вставляем! Затем мы должны узнать внешний айпи-адрес роутера, это вы можете сделать с помощью сервиса 2ip. Заменяете локальный айпи компьютера в ссылке на внешний айпи-адрес сети и всё! Ваш сайт готов к использованию! @@ -13,7 +13,7 @@ https://user-images.githubusercontent.com/99070713/152635289-8d744cdd-6509-40bd- Как видите на этих видео и фото материалах показана демонстрация работы данного репозитория, что значит вы спокойно можете спать, зная что ваш сайт работает - пока компьютер включён. Помните - это лишь временная мера для ваших сайтов, я скоро введу доменные имена, поэтому вам не будет не о чём беспокоиться. И да - прошу задонатить мне на хлеб, карта MasterCard = 5168 7559 0454 1717 -# The-Best-Python-HTTP-Server +# The best HTTP server in Python EN Hey! This is the best and at the same time the simplest http server in the python programming language, which allows you to see the site and use the layout to create html, css, js, etc! I can wish you good luck in using! # Instructions for use Open port 55555 on your wi-fi router, use Windows 10, and open the script and enter your IPV4 - How to recognize it? Open cmd.exe, write ipconfig, then find the item - Wireless LAN Adapter Wireless Network - and find the sub-item IPV4 - Copy its value and paste it! Then we need to find out the external IP address of the router, you can do this using the 2ip service. Replace the local ip of the computer in the link with the external ip address of the network and that's it! Your site is ready to use! From fb20b6380784cc6a1f1a622e3dfbd9c3fde21c5f Mon Sep 17 00:00:00 2001 From: srgwrtg0342 <99070713+srgwrtg0342@users.noreply.github.com> Date: Sat, 5 Feb 2022 11:05:44 +0200 Subject: [PATCH 07/10] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6f3e7ec..76792ea 100644 --- a/README.md +++ b/README.md @@ -26,4 +26,4 @@ In the case of adding new elements, write on the eighth line after '/index.html' https://user-images.githubusercontent.com/99070713/152635289-8d744cdd-6509-40bd-b186-1787997cad22.mp4 -As you can see, these video and photo materials show a demonstration of the work of this repository, which means you can sleep peacefully, knowing that your site is working - as long as the computer is on. Remember - this is just a temporary measure for your sites, I'll be introducing domain names soon so you don't have to worry about anything. And yes - please donate to me for bread, MasterCard = 5167 7559 0454 1717 +As you can see, these video and photo materials show a demonstration of the work of this repository, which means you can sleep peacefully, knowing that your site is working - as long as the computer is on. Remember - this is just a temporary measure for your sites, I'll be introducing domain names soon so you don't have to worry about anything. And yes - please donate to me for bread, MasterCard = 5168 7559 0454 1717 From beeba9081795e3734cec34d8f9d0dd0419f2160c Mon Sep 17 00:00:00 2001 From: srgwrtg0342 <99070713+srgwrtg0342@users.noreply.github.com> Date: Sat, 5 Feb 2022 11:10:05 +0200 Subject: [PATCH 08/10] Update index.html --- index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index 53fc0af..8dfc134 100644 --- a/index.html +++ b/index.html @@ -2,7 +2,7 @@ - HTTP - + HTTP - Server -

+

Server

http

- \ No newline at end of file + From 8c8ce5f853de6258e23f85ffddebcc88791bcbb3 Mon Sep 17 00:00:00 2001 From: srgwrtg0342 <99070713+srgwrtg0342@users.noreply.github.com> Date: Sat, 5 Feb 2022 11:13:12 +0200 Subject: [PATCH 09/10] Update servhttp.py --- servhttp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servhttp.py b/servhttp.py index 2a23264..8f44031 100644 --- a/servhttp.py +++ b/servhttp.py @@ -5,7 +5,7 @@ class Server(BaseHTTPRequestHandler): def do_GET(self): if self.path == '/': - self.path = '/index.html', "/nicepage.css" , "/nicepage.js" , "/jquery.js" , "/glavn.html" , "/glavn.css" , "/images/photo.png", "/photo.png" + self.path = '/index.html' try: file_to_open = codecs.open(self.path[1:], "r", "UTF-8").read() self.send_response(200) @@ -77,4 +77,4 @@ def siteFunc(): print("Http server on - http://",host,":55555/index.html (url without spaces)") httpd.serve_forever() -siteFunc() \ No newline at end of file +siteFunc() From 3c5a7edf9ceefc3a8683ac32ff437492791c7331 Mon Sep 17 00:00:00 2001 From: srgwrtg0342 <99070713+srgwrtg0342@users.noreply.github.com> Date: Mon, 7 Feb 2022 01:44:05 +0200 Subject: [PATCH 10/10] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 76792ea..f3f9285 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Лучший HTTP сервер на Python RU +# RU PART - Лучший HTTP сервер на Python Привет! Это лучший и одновременно простейший http сервер на языке программирования python, который позволяет видеть сайт и использовать вёрстку для создания html,css,js и т.д! Я могу пожелать вам удачи в использовании! # Инструкция использования Открыть порт 55555 на вашем вай-фай роутере, использовать Windows 10, а так же открыть скрипт и вписать ваш IPV4 - Как его узнать? Открываем cmd.exe, пишем ipconfig, далее находим пункт - Адаптер беспроводной локальной сети Беспроводная сеть - и находим под-пункт IPV4 - Копируем его значение и вставляем! Затем мы должны узнать внешний айпи-адрес роутера, это вы можете сделать с помощью сервиса 2ip. Заменяете локальный айпи компьютера в ссылке на внешний айпи-адрес сети и всё! Ваш сайт готов к использованию! @@ -13,7 +13,7 @@ https://user-images.githubusercontent.com/99070713/152635289-8d744cdd-6509-40bd- Как видите на этих видео и фото материалах показана демонстрация работы данного репозитория, что значит вы спокойно можете спать, зная что ваш сайт работает - пока компьютер включён. Помните - это лишь временная мера для ваших сайтов, я скоро введу доменные имена, поэтому вам не будет не о чём беспокоиться. И да - прошу задонатить мне на хлеб, карта MasterCard = 5168 7559 0454 1717 -# The best HTTP server in Python EN +# EN PART - The best HTTP server in Python Hey! This is the best and at the same time the simplest http server in the python programming language, which allows you to see the site and use the layout to create html, css, js, etc! I can wish you good luck in using! # Instructions for use Open port 55555 on your wi-fi router, use Windows 10, and open the script and enter your IPV4 - How to recognize it? Open cmd.exe, write ipconfig, then find the item - Wireless LAN Adapter Wireless Network - and find the sub-item IPV4 - Copy its value and paste it! Then we need to find out the external IP address of the router, you can do this using the 2ip service. Replace the local ip of the computer in the link with the external ip address of the network and that's it! Your site is ready to use!