This topic describes how to create a Bower repository. This is required before publishing and installing Bower packages. There are three primary types of repositories:
Local repositories: Store and share first- and second-party packages with your organization
Remote repositories: Download packages from any remote location, including external package registries or other Artifactory instances
Note
The official public Bower registry at
https://registry.bower.io/is a key-value store of Bower packages that are hosted on Git servers.Virtual repositories: Aggregate remote and local repositories, enabling your organization to scale by providing a single URL that provides access to multiple repositories and types
For more information on JFrog repositories, see Repository Management Overview.
Prerequisite: You need Admin or Project Admin permissions in Artifactory to create a repository.
To create a Bower repository:
In the Administration tab, click Repositories | Create a Repository.
Select the type of repository you want to create: local, remote, or virtual.
Select the Bower package type.
Configure the required fields for the repository:
For local repositories, in the Repository Key field, type a meaningful name for the repository. For example,
bower-local. For more information on local repositories and their settings, see Local Repositories.For remote repositories, verify the Repository URL and update as needed. For more information on remote repositories and their settings, see Remote Repositories.
The Bower repository at
https://registry.bower.io/is a key-value store pointing to binary packages in GitHub. You may also want to create remote repositories to proxy registries like GitHub or Bitbucket.For virtual repositories, select one or more local or remote repository types to include in the virtual repository. For more information on virtual repositories and their settings, see Virtual Repositories.
Click Create Repository. The repository is created and the Repositories window is displayed.
Tip
For advanced configuration options, see Bower Repositories Advanced Configuration.