From 78d4c2d258362d3cbfebf7311a5f211b4978e4fa Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Mon, 14 Aug 2023 17:19:37 +0700 Subject: [PATCH] Better instructions for http server --- README.org | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.org b/README.org index a006a1b..3a31f0f 100644 --- a/README.org +++ b/README.org @@ -58,9 +58,11 @@ actually wants to build this. In order to be able to load the textures and models, the files must be served by an HTTP server because of browser security, see [[https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy][SOP]] and [[https://developer.mozilla.org/en-US/docs/Glossary/CORS][CORS]] if curious. -If you have Python 3 installed, simply run =python3 -m http.server=. If you would -like to use =elm-reactor=, run the command and then click on =index.html= in the -nice project webview provided. +You can use ~elm-reactor~, run the command and open up your browser to +~https://localhost:8000~ and then click on ~Scene.elm~ in the nice project webview +provided. If you don't want to do that and have Python 3 installed, run =python3 +-m http.server=, but make sure to compile with the ~elm make Scene.elm~ command +first. ** How to Play You can walk around the scene and also control the robot which I have named