bower-rhodecode-resolver

0.1.12 • Public • Published

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.

Package Sidebar

Install

npm i bower-rhodecode-resolver

Weekly Downloads

0

Version

0.1.12

License

MIT

Unpacked Size

9.8 kB

Total Files

4

Last publish

Collaborators

  • andreapaciolla
  • micheledisalvatore