diff --git a/SelfHost.py b/SelfHost.py new file mode 100644 index 0000000..738ac1e --- /dev/null +++ b/SelfHost.py @@ -0,0 +1,9 @@ +import http.server +import socketserver + +PORT = 8080 # Define the standard port +Handler = http.server.SimpleHTTPRequestHandler # Simple http request handler, it commits all files and directories within the SelfHost.py folder + +with socketserver.TCPServer(("", PORT), Handler) as httpd: # ("ip address", desired port), call the resquests from files + print("Running @ ", PORT) # Simply outputs on terminal the port that the server is operating + httpd.serve_forever() # Method that simply begins listening and responding to incoming requests \ No newline at end of file diff --git a/index.htm b/index.htm new file mode 100644 index 0000000..7f544f6 --- /dev/null +++ b/index.htm @@ -0,0 +1,74 @@ + + +
+Pandora is a self hosting web server wich can be used to test and fastly deploy web pages and apps. It is made in Python 3 and is very lightweight.
+
+
It uses basic python library and executes and listens on a specific port wich can be changed and it even handles a IP if one wishes to deploy and test in a real world situation.
+
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
+