pandemonium_demo_projects/web_standalone_scripts/folder_serve/README.md

13 lines
352 B
Markdown
Raw Normal View History

2024-01-02 02:59:16 +01:00
# Folder Serve Demo
2024-01-02 03:01:28 +01:00
This is a small script that serves a folder (and it's subfolders) as a static site.
2024-01-02 02:59:16 +01:00
Similar to `python -m http.server`
It's derived from the SceneTree, so you don't need to run this as a project,
instead you need to get the engine, and run it with the `-s` (`--script`) option like so:
`./pandemonium -s ./folder_serve.gd .`