An extension of Python's http.server supporting custom MIME types and server-side processing.
- Support for server-side processing of .scss files to produce the corresponding .css files.
- Return
text/cssMIME type for explicitly requested .scss files (rather than theapplication/octet-streamMIME type returned byhttp.server).
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
This can be skipped if you have libsass installed.
python3 webserver.py
deactivate
rm -r venv