Running an HTTP server in a single command with Python 2025/05/25 Sun - 04:55 AM
I was running my Forester setup locally, found a specific way to expose an HTTP server easily in Python:
python3 -m http.server <port> -d <directory>
This command starts an HTTP server on the specified port and serves files from the specified directory.