You might choose either with an GUI App or from cmd
run: https://github.com/vanevery/p5.serialcontrol/releases
see https://github.com/vanevery/p5.serialport#p5serial-nodejs
either via serve.js or Python
Make sure you have node.js installed to have it run, if you don't have it:
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
$ brew install node
$ npm install -g serve
$ serve .
$ python -m SimpleHTTPServer