Web Server
docker-compose
docker-composesee docker.md (need to make)
Start webserver on localhost
If project is in node, usually start like this:
npm runIf not using a framework, the easiest way is the following command:
python -m http.server 8888 I have it aliased to webserver
Connecting to the outside
There are different ways to do this. I'll list the 2 that I like.
using ngrok
ngrokngrok http 4040localtunnel
You can use npx if you don't want to actually install localtunnel.
npx localtunnel --port 4040 or install localtunnel like this:
npm install -g localtunnel Now you can use it like this:
lt --port 4040 Last updated
Was this helpful?