Client usage
What to do after deploying RavHub and how to use it from real client tools with the URLs your end users will actually see.
Base rule
Before using any client, identify these two values:
BASE_URL, for examplehttps://packages.example.comREPO, the RavHub repository name, for examplenpm-hosted
Most ecosystems start from this pattern:
BASE_URL/repository/REPO
Some ecosystems then append a suffix such as /simple, /index.json, /index, or use a dedicated Docker port.
Private repositories
If the repository is private, use the credentials provided by RavHub.
npmandpnpmcan useloginor.npmrc- Maven and Gradle usually store credentials in
settings.xmlor project properties pipandtwinenormally use persisted configuration files- Docker uses
docker login HOST:PORT - Helm can use
--usernameand--password
Common client patterns
NPM and pnpm
npm install [email protected] --registry BASE_URL/repository/REPO
pnpm add [email protected] --registry BASE_URL/repository/REPOMaven and Gradle
Repository URL:
BASE_URL/repository/REPO/
PyPI
Install URL:
BASE_URL/repository/REPO/simple
NuGet
Feed URL:
BASE_URL/repository/REPO/index.json
Cargo
Sparse index URL:
sparse+BASE_URL/repository/REPO/index
Docker
Docker uses the public host and the assigned repository port:
HOST_PUBLIC:ASSIGNED_PORT/IMAGE:TAG
Helm
Repository URL:
BASE_URL/repository/REPO
Full reference
The complete step-by-step client reference is currently maintained in Spanish:
Next step
If you still have not deployed RavHub, go back to Core vs Enterprise.