From 15d2c5298ae3281893eed2f32508eba2e682650f Mon Sep 17 00:00:00 2001 From: Jules Saarikoski Date: Wed, 1 Feb 2023 12:50:53 +0100 Subject: [PATCH] Add information about self-hosting to README --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 57308d8..2f51b99 100644 --- a/README.md +++ b/README.md @@ -37,6 +37,11 @@ It is recommended to use an ephemeral key. - Add `#controlUrl=` at the end of the URL - You can combine this option with `authKey` with a `&`: `#controlUrl=&authKey=` +# How to host WebVM locally + +- Replace `CX_VERSION` in index.html and tinycore.html with a valid version of CheerpX. The latest version can be found at [https://webvm.io](https://webvm.io) +- Run nginx -p . -c nginx.conf in the root of the WebVM directory. WebVM can then be found at `http://localhost:8081` + # Bugs and Issues Please use [Issues](https://github.com/leaningtech/webvm/issues) to report any bug.