Merge pull request #274 from mdelagralfo/github-enterprise

Github enterprise config and docs
This commit is contained in:
Adam Ochonicki 2013-05-15 12:24:15 -07:00
commit f57089f589
3 changed files with 17 additions and 0 deletions

View file

@ -258,6 +258,13 @@ fork.
You'll still be the maintainer, you'll still own the issues and PRs.
It'll just be listed under the boxen org so folks can find it more easily.
## Integrating with Github Enterprise
If you're using a Github Enterprise instance rather than github.com,
you will need to set the "BOXEN_GITHUB_ENTERPRISE_URL" and
"BOXEN_REPO_URL_TEMPLATE" variables in your
[Boxen config](config/boxen.rb).
## Halp!
See [FAQ](https://github.com/boxen/our-boxen/blob/master/docs/faq.md).

View file

@ -17,3 +17,9 @@
# Submit audit data to an arbitrary HTTP endpoint
# ENV["BOXEN_WEB_HOOK_URL"] = 'https://some-uri.com/boxen'
#
# required for Github Enterprise
# ENV["BOXEN_GITHUB_ENTERPRISE_URL"] = 'https://github.yourdomain.com'
# required for Github Enterprise (defaults to "https://github.com/%s")
# ENV['BOXEN_REPO_URL_TEMPLATE'] = 'https://github.yourdomain.com/%s'

View file

@ -24,6 +24,10 @@ With the above, as long as our app is configured to listen on a **socket** at
`"#{ENV['BOXEN_SOCKET_DIR']}"/trollin`, you'll now be able to run its local
server and visit http://trollin.dev/ to access the app in dev.
Provide the full repository URL in the 'source' option when referencing
code that is not hosted at github.com, such as Github Enterprise
repositories.
For further documentation on how to use the `boxen::project` type,
take a look at the documentation in the
[source](https://github.com/boxen/puppet-boxen/blob/master/manifests/project.pp#L1-L46).