Skip to content

Objectway/bower-rhodecode-resolver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bower-rhodecode-resolver

A Bower resolver to allow integration with a RhodeCode repository

npm version badge downloads badge

Installation

npm install -g bower-rhodecode-resolver

In order to use Bower with Rhodecode you need 2 components (npm packages):

  1. bower-rhodecode-resolver - A Bower resolver to allow integration with a RhodeCode repository
  2. bower - Bower version 1.5.0 and above.

Client Configuration

Edit your ~/.bowerrc and add:

...
  "resolvers": [
    "bower-rhodecode-resolver"
  ],
  "rhodecode": {
  	"token": "1234567890asdfghjklzxcvbnm",
  	"repo": "www.your-rhodecode-repo.com"
  }
...

Where can I find the auth token?

As explained in the rhodecode documentation, each user can find his own token on the rhodecode repository web site under: Username -> My Account -> Auth tokens

Rhodecode Configuration (v3)

Enabling VCS Tokens

On the website

As explained on the rhodecode docs, you have to enable rhodecode.lib.auth_modules.auth_token plugin.

On the server instance

If it doesn't work, maybe you have to change some parameters on your rhodecode instance.

As explained on the Rhodecode support site, you have to change in rhodecode.ini the value of api_access_controllers_whitelist = ChangesetController:changeset_patch, ChangesetController:changeset_raw, FilesController:raw, FilesController:archivefile.

About

A Bower resolver to allow integration with a RhodeCode repository

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •