i’m trying set operation internet access external repos via artifactory server. have followed bower information on web page http://www.jfrog.com/confluence/display/rtf/bower+repositories
i can npm installs of bower-art-resolver described (utilizing npm remote repository npmjs in artifactory), trying example bower install of bootstrap fails because bower attempting find git://github.com/twbs/bootstrap.git , don't have access github.com due firewalls.
how make full bower workflow work if having bower registry remote repository not suffient make setup work? there way artifactory vcs functions come play? how make bower utilize instead of trying reach github.com?
this firewall scenario seems common use case repository server, i'm sure i'm missing something.
make sure doing following:
(1) create remote repository in artifactory proxying bower registry. notice artifactory need access both bower registry , github.
(2) configure bower use artifactory repository created in previous step bower registry. should done in .bowerrc file, example:
{ "registry": "http://localhost:8081/artifactory/api/bower/bower-repo" } (3) use bower-art instead of bower when installing packages, example:
bower-art install bootstrap
Comments
Post a Comment