Run a local server
cd /path/to/your-project-folder
# python2
python -m SimpleHTTPServer 8080
# python3
python3 -m http.server 8080
Open a browser and visit localhost:8080
Make server accessible remotely
- Download and add ngrok to your project directory
https://ngrok.com/
$> cd /path/to/your-project-folder
$> ./ngrok http 8080
Copy the Forwarding address and access the page.
Create a public page from local hostname
./ngrok http -host-header=rewrite www.bajalka.si:80