github-api-client icon indicating copy to clipboard operation
github-api-client copied to clipboard

how to config it in order to access github:enterprise instead of default github.com

Open kjing opened this issue 13 years ago • 4 comments

Hi,

I try to use the useful api client. for our case, we implement github enterprise inside firewall, where to make change in order to access internal github enterprise URL instead of github.com? Thanks

Kai

kjing avatar Jan 06 '12 06:01 kjing

Hi, I'm not familiar with github enterprise and if it provides any API, but you can give it a try here

farnoy avatar Jan 16 '12 16:01 farnoy

I wrote code to do this in my fork. I'll submit a pull request.

kmwhite avatar Jan 18 '12 22:01 kmwhite

@kjing can you try v0.3.2 by setting:

GitHub::Config::Options[:server] = 'github_enterprise_inside_url'

where github_enterprise_inside_url is local ip or local domain of github inside installation (without http:// part and /(slash) afterwards)

@kmwhite made some improvements that ease up the whole process.

farnoy avatar Jan 19 '12 13:01 farnoy

sorry later, I will try it and let you know, thanks

kjing avatar Feb 03 '12 00:02 kjing