3 ms·
for local network. You can just do python3 -m http.server in the dir, or python -m SimpleHTTPServer (python2) Or npm install -g http-server for nodejs, then
by lowwave 6y ago
for local network. You can just do python3 -m http.server in the dir, or python -m SimpleHTTPServer (python2)
Or npm install -g http-server for nodejs,
then http-server
Local network is easy.
- domh 6y agoIf you're using a recent version of node/npm, you can just do: npx http-server . To remove the global install step. This will install and run all in one command.