github-api-client
github-api-client copied to clipboard
how to config it in order to access github:enterprise instead of default github.com
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
Hi, I'm not familiar with github enterprise and if it provides any API, but you can give it a try here
I wrote code to do this in my fork. I'll submit a pull request.
@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.
sorry later, I will try it and let you know, thanks