Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get working for my github enterprise account #137

Open
lotheren opened this issue Mar 29, 2017 · 2 comments
Open

Can't get working for my github enterprise account #137

lotheren opened this issue Mar 29, 2017 · 2 comments

Comments

@lotheren
Copy link

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.

@felipemullen
Copy link

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 SamyPesse/octocat.js#7, which would be 0.11.1.

Will comment when I find a reasonable solution

@felipemullen
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants