Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Private github repository #123

Closed
camwest opened this Issue · 6 comments

4 participants

@camwest

I saw a bunch of links about creating a private host for components, but it wasn't clear to me if there is support for private github repositories. Can someone point me in the right direction? I'd be more than happy to update the documentation if I could get some help figuring this out.

@clintwood
Owner

+1, Our co would like to wholeheartedly adopt TJ's awesome component mechanism and for that we need some of our components in a private repository.

@juliangruber

Private github repos are handled via

{
  "remotes" : [
    "https://user:pass@raw.github.com/"
  ]
}

for Github supports basic auth.

If you want them completely inside your infrastructure check https://npmjs.org/package/contre

You would add this as a 2nd remote on your component repos and push to it when you release a component. Then you only need a static file server (like connect with the static middleware) that serves the public folder. The url of this public file server again goes into the remotes path of your component.json.

@camwest
@juliangruber

As a new point at the bottom of the faq page in the wiki?

@tj tj closed this
@tj
tj commented

added a mention of contre as well, looks sweet! I need to try it out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.