nuts icon indicating copy to clipboard operation
nuts copied to clipboard

Can't get working for my github enterprise account

Open lotheren opened this issue 7 years ago • 2 comments

Should this work out of the box or is there some extra settings I need to change to get this working for github enterprise? I am getting a 'GitHubError: Error 406' response when I try to run npm start.

lotheren avatar Mar 29 '17 03:03 lotheren

This is a very old issue, but here is some information. I am trying to get it working for enterprise as well, and the underlying problem is with octocat. The version installed in Nuts is 0.10.2, but there is a fix mentioned in https://github.com/SamyPesse/octocat.js/pull/7, which would be 0.11.1.

Will comment when I find a reasonable solution

felipemullen avatar Oct 13 '22 15:10 felipemullen

ok, a simple npm i [email protected] gets me up and running with enterprise configuration. For future internet users, here is how I am running the server

export PORT=6000

export GITHUB_TOKEN=<token>
export GITHUB_ENDPOINT=https://git.<mycompany>.com/api/v3/
export GITHUB_USERNAME=<username>
export GITHUB_PASSWORD=<password>

export GITHUB_REPO=<myorg>/<myrepo>
export API_USERNAME=<apiusername>
export API_PASSWORD=<apipassword>
export TRUST_PROXY=loopback
npm start

felipemullen avatar Oct 13 '22 16:10 felipemullen