diff --git a/README.MD b/README.MD index 85565d0..ce51264 100644 --- a/README.MD +++ b/README.MD @@ -1,7 +1,7 @@ ## ReMote is a WASM Remote Monitor Application -### Install +### Install Linux ``` sudo apt update sudo apt install -y ninja-build python3 build-essential @@ -25,3 +25,34 @@ cmake --build build-wasm cd build-wasm python3 -m http.server 8000 ``` + + +### Install MacOS + +``` +git clone https://github.com/emscripten-core/emsdk.git +cd emsdk +./emsdk install latest +./emsdk activate latest +source "/Users/tech/code/emsdk/emsdk_env.sh" + +( +note if latest does not work use 4.0.7 explicitly. +"your em is built with 5.1........" + +./emsdk install 4.0.7 +./emsdk activate 4.0.7 +source "/Users/tech/code/emsdk/emsdk_env.sh" +) + + +brew install cmake ninja + + +cat code/esa-remote/build-mac.sh +/Users/tech/Qt/6.11.0/wasm_singlethread/bin/qt-cmake -S . -B build-wasm -G Ninja +cmake --build build-wasm + +cd build-wasm +python3 -m http.server 8000 +``` diff --git a/build-run.sh b/build-run.sh old mode 100644 new mode 100755