summaryrefslogtreecommitdiff
path: root/platform/web/serve.py
AgeCommit message (Collapse)Author
2022-10-12[Web] Add the "serve" and "run" scons targets.Fabio Alessandrelli
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.
2022-10-04Replace local web server setup for web editor with a Python-based solutionHugo Locurcio
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>