Help with creating a local repo




At my local place of employment we work behind a firewall and have to create local repositories for all the languages we use (CRAN, Pypi, etc.)

I’ve been trying to understand how to do that exact thing for julia with Pkg3, but have not been able to find a clear step-by-step algorithm.

Can anyone suggest such a guide, or perhaps write a short one ad-hoc?

The end result would need to be seamless. That is, using “Pkg add X” should install X from the local repo with no further intervention.