r11na
Publishing a package to a local version of hexpm
I’m trying to run a private version of hexpm.
I have the hexpm application running on my local machine however I can’t figure out how to publish packages to it, it keeps trying to publish to hex.pm and it is hard to find any info on it.
I’ve setup a local repo pointing to my local version of hexpm and it shows up as expected when I run mix hex.repo list, but I can’t get my packages into it.
Any ideas?
Most Liked
r11na
It’s not up to me unfortunately ![]()
I don’t control the purse strings for this project but it definitely is the better option imho.
asummers
@kelvinst A local version of Hex would be useful in the face of Hex connectivity issues. We’re unable to currently deploy because of Hex image pull connectivity errors, and a local Hex would allow one to bypass that externality. Private Nexus servers are extraordinarily common in the Java world, and things like private NPM servers exist in JS.
asummers
@r11na Seems like this is the config you want to override. Unless you already did that.
https://github.com/hexpm/hex/blob/master/lib/mix/tasks/hex.config.ex#L16
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #advent-of-code
- #elixirconf-us
- #distillery
- #processes
- #forms
- #api
- #metaprogramming
- #security
- #performance









