I have spent the better part of the last 2 days trying, like a wild Google search-er, to get a development environment that pushes localhost to the network & internet. That will update and allow for rapid development.
Here's my findings!
To lay it simply - I went with Python.
===
1st Module - LiveReload
https://pypi.org/project/livereload/
This module allows for a localhost environment, one that refreshes after each Save.
This CLI is:
livereload -p 80
===
2nd Module - pyngrok
https://alexdlaird.medium.com/pyngrok-a-python-wrapper-for-ngrok-ceb2f25229fd
This module is a ngrok wrapper. Allowing for quick pushing of a localhost session, mentioned above.
This CLI is:
ngrok http 80
===
Running
To get up and going, run the LiveReload command, then the pyngrok command. (Within the directory of your project)
That's pretty much it!
For a bonus tip:
I use 'Pushbullet' (a Chrome extension) - to send my unique URLs to my phone or tablet!
Top comments (0)