-
Notifications
You must be signed in to change notification settings - Fork 72
Running websockify js on Windows
Samuel Mannehed edited this page Apr 3, 2020
·
1 revision
-
Check out websockify-js (if you haven't already)
-
Install NodeJS:
-
Start "Node.js command prompt"
(NodeJS's installation usually puts a shortcut in the startmenu)
-
Install required components:
npm install -g express optimist policyfile ws http-server mime-types pkg
-
Create a folder named "websockify" under "%AppData%\npm\node_modules":
mkdir %AppData%\npm\node_modules\websockfiy
-
Copy the contents from folder "websockify-js/websockify" to "%AppData%\npm\node_modules\websockify":
copy websockify-js/websockify %AppData%\npm\node_modules\websockfiy
-
Create websockify EXE files:
pkg "%AppData%\npm\node_modules\websockify\websockify.js" --targets "latest-win-x86,latest-win-x64" --out-path websockify-js