How to create a server for private power?

Asked

Viewed 122 times

1

I have several frontend packages developed by my team, all these packages are private and I can’t register them on Bower public repository. It would be possible to have a private server containing all these packages within my corporate infrastructure?

1 answer

1


The best solution for this is private-Bower. This solution will provide an HTTP server with a graphical interface for registering private packages. After the release of private-Power just create a file in your project called .bowerrc containing the following configuration:

{
  "registry": "http://yourPrivateBowerRepo:5678",
  "timeout": 300000
}

When you install a new package, Bower will first search on your private server and then on the public server.

It is possible to use private-Power as a cache server for public packages, making downloading packages faster.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.