Skip to content

Instantly share code, notes, and snippets.

@mark05e
Created April 18, 2021 04:38
Show Gist options
  • Save mark05e/34927a7cf2e96923f84bbb8ef3ced482 to your computer and use it in GitHub Desktop.
Save mark05e/34927a7cf2e96923f84bbb8ef3ced482 to your computer and use it in GitHub Desktop.
::----------------------------------------------
:: Running Node-Red portable on windows
:: Dir structure
:: node-red
:: |-node
:: |-node_modules
:: |-userDir
::----------------------------------------------
set PATH=%PATH%;%CD%\node;%CD%\node_modules\.bin;
start /B "" "cmd /c timeout 5 > NUL && start http://127.0.0.1:1880/ "
node-red.cmd --userDir=%CD%\userDir
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment