Replace Python server with Guile
This commit is contained in:
11
README.md
11
README.md
@@ -19,19 +19,18 @@ To run, first compile the WebAssembly module:
|
||||
wat2wasm --enable-threads wipforth.wat
|
||||
```
|
||||
|
||||
Then run the server:
|
||||
Then run the development server:
|
||||
|
||||
```
|
||||
python3 server.py
|
||||
guile server.scm
|
||||
```
|
||||
|
||||
You should then be able to open <http://localhost:8080> in a browser
|
||||
and use the system from there.
|
||||
|
||||
**NOTE**: The server is just a very simple instantiation of Python's
|
||||
built-in `http.server.HTTPServer`, configured to set the cross-origin
|
||||
headers required for `SharedMemoryBuffer` use. You could use any HTTP
|
||||
server that sets these headers.
|
||||
**NOTE**: The server is very simple and just serves the files with the
|
||||
cross-origin isolation headers required for `SharedMemoryBuffer` use.
|
||||
You could use any HTTP server that sets these headers.
|
||||
|
||||
## Peripherals
|
||||
|
||||
|
||||
Reference in New Issue
Block a user