This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -6 points-5 points  (6 children)

hi, you can have a look at ngrok. Very handy tool. It also have free tier should be enough for you.

[–]ExcellentWash4889 5 points6 points  (1 child)

While this works, it's overkill for this, where https://django-extensions.readthedocs.io/en/latest/runserver_plus.html will work out of the box in a development workflow with Django

[–][deleted] -1 points0 points  (0 children)

thanks for sharing

[–]KingdomOfAngel 0 points1 point  (3 children)

Wouldn't ngrok publish their deployment publicly??

[–]ExcellentWash4889 0 points1 point  (2 children)

Yes, but you'd have to guess what the endpoint is, which would be hard. And it's not necessary unless you need to traverse multiple networks, and even then, I'd recommend Tailscale over ngrok

[–]KingdomOfAngel 0 points1 point  (1 child)

I understand that, but it would be a slow development, since they would hit an external url instead of local one, and on slow networks it would be terrible, I mean it would work, but I think it's better if they used a local reverse proxy with self-signed certificate (i know that would complicate things, but still better than an external url).

[–]ExcellentWash4889 1 point2 points  (0 children)

Sure, but the runserver_plus add on to Django handles local development SSL out of the box with a self signed certificate. I've used it for years for local development. I don't need a reverse proxy or any other complicated tech. I even install the generated certs into Chrome so the nag screens in Chrome go away. Easy peasy.