We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 343fcc6 + 1c5acde commit 8f5495eCopy full SHA for 8f5495e
start-server.py
@@ -0,0 +1,11 @@
1
+import SimpleHTTPServer
2
+import SocketServer
3
+
4
+PORT = 8000 #This will serve at port 8080
5
6
+Handler = SimpleHTTPServer.SimpleHTTPRequestHandler
7
8
+httpd = SocketServer.TCPServer(("", PORT), Handler)
9
10
+print "serving at port", PORT
11
+httpd.serve_forever()
0 commit comments