summaryrefslogtreecommitdiffstats
path: root/platform/web/serve.py
Commit message (Collapse)AuthorAgeFilesLines
* Update pre-commit hooks configuration to use `ruff` instead of `black`Jakub Marcowski2024-05-211-4/+4
|
* [Web] Fix serve.py utility on WindowsFabio Alessandrelli2024-04-151-1/+12
| | | | | | | | | IPv6 dual stack is disabled by default, and Windows resolves wildcard addresses to an IPv6 by default, so connecting through the local IPv4 address would not work. This enables IPv6 dual stacking for the HTTP server by default like done in upstream python when launching the module from CLI.
* [Web] Add the "serve" and "run" scons targets.Fabio Alessandrelli2022-10-121-9/+12
| | | | | | | | | | | | | You can now run the test HTTP server by calling: scons p=web serve If you also wish to run the browser, call instead: scons p=web run The default listen port is 8060, but can be overriden via the env variable GODOT_WEB_TEST_PORT which must be a valid integer.
* Replace local web server setup for web editor with a Python-based solutionHugo Locurcio2022-10-041-0/+52
This makes it easier to set up, as you always have Python installed when building Godot. On the other hand, you don't always have Node.js + npm installed (and you may not want to spend time running `npm install`). Co-authored-by: Fabio Alessandrelli <fabio.alessandrelli@gmail.com>