Hex is package manager for the Erlang VM.
This project currently provides tasks that integrate with Mix, Elixir's build tool.
See hex.pm for installation instructions and other documentation.
Install hex locally for development with: mix install
.
Hex bundles a list of root CA certificates used for certificate validation in HTTPS. The certificates are fetched from Mozilla's source tree with curl's mk-ca-bundle.pl script. The bundle created from the Perl script is stored in lib/hex/api/ca-bundle.crt
and is included in source control, the file should be updated when new releases are made by Mozilla. When Hex is compiled the certificates are parsed and included with the compiled artifacts.
Integration testing against the API server requires a postgresql user with username postgres
and password postgres
.
Run integration tests with mix test --include integration
.
Also see the API server repository: hex_web.