We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
We can't find the internet
Attempting to reconnect
Something went wrong!
Hang in there while we get back on track
For local development add the repo using mix:
wget -q http://hex.gpr.technocs.ru/local_hex_public.pem
mix hex.repo add local_hex http://hex.gpr.technocs.ru --public-key local_hex_public.pem
rm -f local_hex_public.pem
mix hex.repo add local_hex http://hex.gpr.technocs.ru --public-key local_hex_public.pem
rm -f local_hex_public.pem
To verify that mix is aware of the new repository:
mix hex.repo list
| Name | URL | Public key | Auth key |
|---|---|---|---|
| local_hex | http://hex.gpr.technocs.ru | SHA256:w6Y0FECtU/UdA//tTMJ63NNc1Glj79WBhKiDWZM33iU | |
| hexpm | https://repo.hex.pm | SHA256:O1LOYhHFW4kcrblKAxROaDEzLD8bn1seWbe5tq8TRskh |
Point dependencies to the internal repository from your mix.exs:
{:jason, "~> 1.0"},
{:your_library, "~> 0.8.3", repo: local_hex},
{:your_library, "~> 0.8.3", repo: local_hex},