Merge pull request #6107 from godotengine/revert-6105-compiling-web-editor-add-local-web-server

Revert "Mention local web server for testing web editor in Compiling for the Web"
This commit is contained in:
Max Hilbrunner
2022-08-25 23:21:16 +02:00
committed by GitHub

View File

@@ -107,21 +107,3 @@ zip content to your web server and visit it with your browser to use the editor.
Refer to the :ref:`export page <doc_javascript_export_options>` for the web
server requirements.
.. tip::
The Godot repository includes a script to host a local web server for the
purposes of testing the web editor.
After compiling the editor, extract the ZIP archive that was created in the
``bin/`` folder, then run the following command in the Godot repository
root:
::
# You may need to replace `python` with `python3` on some platforms.
python platform/javascript/serve.py
This will serve the contents of the ``bin/`` folder and open the default web
browser automatically. In the page that opens, access ``godot.tools.html``
and you should be able to test the web editor this way.