This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| This is Python's http.server that has been bundled to an .exe using PyInstaller. You can use it as a local web server for testing. | |
| Run the local server | |
| 1. Copy the server.exe into the folder you want to serve and then double click it to start the local server. | |
| 2. A window will pop up letting you know the server is running on port 8000. | |
| 3. Open http://localhost:8000/ in your web browser. | |
| 4. When you are done, simply close the server.exe window to stop the local server. | |
| If you have another service running on port 8000, you can run on a different port like so: | |
| 1. Open Command Prompt |