renpy / renpy-build

Build system for the Ren'Py visual novel engine. (The engine itself, not games.)
76 stars 51 forks source link

web: Add local server executables (.bat/.sh) #62

Closed Vadim-Karpenko closed 1 year ago

Vadim-Karpenko commented 1 year ago

This pull request adds a new feature that enables users to launch a server without relying on the Ren'Py launcher. Utilizing the built-in Python library http.server, it simplifies the process of sharing HTML files with others. Previously, the only convenient options to run generated HTML files were using the Ren'Py launcher or installing Nginx, both of which are not accessible to non-technical users. To address this issue, I have created two executable files (.bat and .sh) that will serve the current directory as an HTTP server on port 80, making it easier for everyone to share their HTML files.

.sh file needs to be tested, I don't have Linux installed to check it properly, but it should work.

renpytom commented 1 year ago

I don't think this needs to be part of Ren'Py.